Question: (10 marks) (b) Given the following sequence diagram, comment on it in terms of coupling and cohesion and whether it is in the spirit of

 (10 marks) (b) Given the following sequence diagram, comment on it

(10 marks) (b) Given the following sequence diagram, comment on it in terms of coupling and cohesion and whether it is in the spirit of object-oriented design. an Order an Order Line a Product aCustomer calculate Price getQuantity lifeline participant getProduct I 1 found message aProduct activation getPricing Details return calculateBasePrice self-call message calculate Discounts getDiscountInfo 1 (7 marks) (c) Provide an alternative diagram to that in part (b) and outline how it improves on concerns about coupling and cohesion. (8 marks) (10 marks) (b) Given the following sequence diagram, comment on it in terms of coupling and cohesion and whether it is in the spirit of object-oriented design. an Order an Order Line a Product aCustomer calculate Price getQuantity lifeline participant getProduct I 1 found message aProduct activation getPricing Details return calculateBasePrice self-call message calculate Discounts getDiscountInfo 1 (7 marks) (c) Provide an alternative diagram to that in part (b) and outline how it improves on concerns about coupling and cohesion. (8 marks)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!