Using the Student Companion Site of the textbook ( http://bcs.wiley.com/he-bcs/B
ID: 3553042 • Letter: U
Question
Using the Student Companion Site of the textbook ( http://bcs.wiley.com/he-bcs/Books?action=index&itemId=1118037421&bcsId=7188 ), review the CD Selections Case of Chapter 6 and then respond to the following scenario.
Consider the Sequence and Communication diagrams of the Place Order Use Case of Figure 6-B and Figure 6-C.
Both diagrams are equivalent in representing the internal behavior of the Place Order Use Case, yet each emphasizes a certain aspect of behavior of the use case.
Explain the similarities and the differences between the information represented by these two UML diagrams in the context of the Place Order Use Case.
Explanation / Answer
similarities:
Communication diagrams show a lot of the same information as sequence diagrams such as
## both show the users of the system(here customer)
## both consists of classes and functions provided by them (here classes are CDlist,CD, market info etc and functions are create cd(), findcd(), getreview etc...)
Differences:
the differences lies in how the information is presented, some of it is easier to find in one diagram than the other. Communication diagrams show which elements each one interacts with better, but sequence diagrams show the order in which the interactions take place more clearly.
here, for example in sequence diagram order of execution of some functions are as getmrktinfo() then getreview() then getartist() and soon..
while in communication diagram given better interaction is shown as user only interacts with classes searcrequest,CD,shoppingcart,, order....user doesnot directly interact with cdlist, marketinfo review etc..
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.