Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. (a) In the context of Object Oriented Analysis and Design, when designing the structural model, what are the implications of designing a bi-directional

 

2. (a) In the context of Object Oriented Analysis and Design, when designing the structural model, what are the implications of designing a bi-directional association between two classes in terms of its implementation (as opposed to a uni-directional association). Illustrate your answer using code examples. (b) [10 Marks] (i) Explain the Principle of Least Knowledge. As part of your answer, outline three practical guides to object communication that Demeter promotes. Use UML to illustrate your answer. [9 Marks] (ii) Discuss, using an example of your choosing, how a behavioural model (sequence diagram) could be created which fully and correctly realises a specific use case but does not conform to its structural model (class diagram). [14 Marks]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

a When designing the structural model in ObjectOriented Analysis and Design OOAD the choice between a bidirectional association and a unidirectional association between two classes has implications on ... 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_2

Step: 3

blur-text-image_3

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

Statistics The Art And Science Of Learning From Data

Authors: Alan Agresti, Christine A. Franklin

3rd Edition

9780321849281, 321755944, 321849280, 978-0321755940

More Books

Students also viewed these Programming questions

Question

Find the investors expected profit.

Answered: 1 week ago