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 association

image text in transcribed

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. [10 Marks] (b) (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

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

Database Management System MCQs Multiple Choice Questions And Answers

Authors: Arshad Iqbal

1st Edition

1073328554, 978-1073328550

More Books

Students also viewed these Databases questions

Question

How many people will receive the message?

Answered: 1 week ago