ECBA · Question #50
In a use case, which is one of the two commonly used relationships?
The correct answer is D. Extend. Extend (<<extend>>) is one of the two standard relationships in UML use case diagrams, alongside include (<<include>>). The extend relationship models optional or conditional behavior - a use case that may add steps to a base use case under certain conditions (e.g., "Apply…
Question
In a use case, which is one of the two commonly used relationships?
Options
- AInherit
- BIdentify
- CDistribute
- DExtend
How the community answered
(23 responses)- A4% (1)
- C4% (1)
- D91% (21)
Explanation
Extend (<<extend>>) is one of the two standard relationships in UML use case diagrams, alongside include (<<include>>). The extend relationship models optional or conditional behavior - a use case that may add steps to a base use case under certain conditions (e.g., "Apply Discount" extends "Checkout" only when a coupon is used).
- A. Inherit - UML use cases use generalization (not "inherit") for parent-child relationships, and it is not considered one of the two commonly used relationships.
- B. Identify - Not a UML use case relationship at all.
- C. Distribute - Also not a recognized UML use case relationship.
Memory tip: Think "I E" - Include and Extend are the two. Include = always happens (required), Extend = sometimes happens (optional). If you remember "IE" like Internet Explorer, you'll never mix them up on an exam.
Topics
Community Discussion
No community discussion yet for this question.