Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

OMG-OCUP2-FOUND100 Exam - Topic 8 Question 42 Discussion

Actual exam question for OMG's OMG-OCUP2-FOUND100 exam
Question #: 42
Topic #: 8
[All OMG-OCUP2-FOUND100 Questions]

Choose the correct answer:

Which UML term pair captures complementary ways of looking at a relationship?

Show Suggested Answer Hide Answer
Suggested Answer: D

The UML term pair that captures complementary ways of looking at a relationship is 'aggregation / composition'. Both terms describe types of associations between classes but differ in the degree of ownership and lifecycle dependency between the involved objects. Aggregation implies a weaker relationship where the parent class contains or is linked to other classes but does not strictly control their lifecycle (e.g., a university and its students). Composition, on the other hand, implies a stronger relationship where the parent class has full responsibility for the lifecycle of the associated classes (e.g., a house and its rooms). Understanding these relationships helps model systems more accurately in terms of object ownership and lifecycle management.


Contribute your Thoughts:

0/2000 characters
Salley
24 hours ago
I think it's A) include / extend, though.
upvoted 0 times
...
Noah
6 days ago
I'm pretty sure it's E) generalization / specialization.
upvoted 0 times
...
Enola
11 days ago
I recall aggregation and composition being discussed as part of a hierarchy, but I’m not confident they fit this question.
upvoted 0 times
...
Donte
16 days ago
I feel like dependency and trace are related, but they don't really capture complementary views. So I’m leaning away from C.
upvoted 0 times
...
Ashlyn
22 days ago
I'm not entirely sure, but I remember practicing a question about include and extend. Could it be A?
upvoted 0 times
...
Latricia
27 days ago
I think the answer might be E) generalization / specialization, since they often represent different perspectives on the same concept.
upvoted 0 times
...

Save Cancel