OMG-OCUP2-FOUND100 practice question 14 of 15
Which UML term pair captures complementary ways of looking at a relationship?
Full set: 89 questionsGeneralization and specialization are complementary concepts describing the same inheritance relationship. Generalization is the process of creating a superclass from a set of subclasses (a bottom-up view). Specialization is the process of creating subclasses from a superclass (a top-down view). They represent two different ways of looking at or discovering the same taxonomic relationship between classifiers in UML.
A. include and extend are two distinct types of relationships between use cases with different semantics (mandatory vs. optional behavior), not complementary views of one relationship.
B. use (a dependency) and implement (a realization) are fundamentally different kinds of relationships in UML, connecting elements for different purposes.
C. A trace is a specific stereotype of a dependency relationship. It is a kind of dependency, not a complementary perspective on it.
D. Aggregation and composition are two distinct forms of association that model a whole-part relationship with different lifecycle semantics, not complementary views of a single relationship.
1. Arlow, J., & Neustadt, I. (2005). UML 2 and the Unified Process: Practical Object-Oriented Analysis and Design (2nd ed.). Addison-Wesley. In Chapter 8, p. 158, the text describes generalization as "the activity of identifying commonality" and specialization as its inverse, illustrating them as complementary activities for structuring a class hierarchy.
2. Object Management Group. (2017). OMG Unified Modeling Language (OMG UML), Version 2.5.1. OMG Document Number formal/2017-12-05. Section 9.2.4, pp. 113-114, defines the Generalization relationship. The concept of specialization is its semantic inverse, used throughout object-oriented literature to describe the same relationship from the superclass's perspective.
Keep practicing
Take the free OMG-OCUP2-FOUND100 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other OMG-OCUP2-FOUND100 practice questions
- Question 4Which scenario would be modeled most appropriately in a state machine?
- Question 5In UML modeling, what is a Constraint?
- Question 7Which statement is correct regarding object (lows and control flows?
- Question 11Which category of stakeholders should have prime responsibility for making decisions on t…
- Question 12Which semantics differentiate a pseudostate from a regular state in a UML state machine?
- Question 13When is a state machine for an object created and ready to accept events?
