Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Using the Student Companion Site of the textbook ( http://bcs.wiley.com/he-bcs/B

ID: 3553494 • 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 7 and then respond to the following scenario.

Consider the two package diagrams of the Place Order Use Case from Figure 7-A and Figure 7-B.

Select two packages of these diagrams and explain the rationale behind clustering the classes into these packages. Also, propose an alternate clustering technique and describe its advantages or disadvantages when compared to the clustering in these two diagrams.

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..

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote