Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(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

image text in transcribed

(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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Focus On Geodatabases In ArcGIS Pro

Authors: David W. Allen

1st Edition

1589484452, 978-1589484450

More Books

Students also viewed these Databases questions

Question

Calculate the linear combination. 3(3i 4j) + 5(i + 4j)

Answered: 1 week ago

Question

How do modern Dashboards differ from earlier implementations?

Answered: 1 week ago