U.S. Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

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

Choose the correct answer:Which UML term pair captures complementary ways of looking at a relationship?
D) aggregation / composition
A) include / extend
B) use / implement
C) dependency / trace
E) generalization / specialization

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
Wilson
1 day ago
A) include / extend is also a good choice.
upvoted 0 times
...
Aleta
2 months ago
Wait, are we sure about that? Seems tricky.
upvoted 0 times
...
Ivory
2 months ago
Totally agree with E! Makes the most sense.
upvoted 0 times
...
Kirk
2 months ago
I think it's E) generalization / specialization.
upvoted 0 times
...
Stevie
2 months ago
I always mix up A and E, but I lean towards E.
upvoted 0 times
...
Mabelle
2 months ago
Wait, is it really E? That seems too obvious.
upvoted 0 times
...
Margurite
2 months ago
Definitely D) aggregation / composition!
upvoted 0 times
...
Salley
3 months ago
I think it's A) include / extend, though.
upvoted 0 times
...
Noah
3 months ago
I'm pretty sure it's E) generalization / specialization.
upvoted 0 times
...
Enola
3 months 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
3 months 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
3 months ago
I'm not entirely sure, but I remember practicing a question about include and extend. Could it be A?
upvoted 0 times
...
Latricia
3 months 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