CPlusOOP
SiteMap
Project Cycle
System Design
UML
Logical View
«Prev
Next»
UML Fundamentals
Intro to UML
Why UML was Created
UML Scope Specification
How to extend UML
Four Views SW Development
Use Case View
Purpose Logical View
Component View
Deployment View
Purpose Function Packages
UML Standardizes Development
UML Software - Quiz
Use Case View
Use Case Model
Use Case Diagram
Use Case System
Use Case Actors
Define Use Cases
Use Case Associations
Building Case Diagram
Use Case Narrative
Write Use Case
Use Case Scenarios.
Use Case Conclusion
Logical View Model
UML ClassDiagram
Model Attribute Notation
Notation Modeling Operations
Modeling UML Class
Modeling Associations
Reflexive Qualified Association
Modeling Aggregation Composition
Aggregation Composition - Quiz
UML Composition
Specifying Inheritance Generalization
Specifying UML Delegation
Generalization Visibility
Logical View Model Conclusion
Object Diagrams
Object Diagram
Object Diagram Notation
Test Class Diagrams
Logical View Object Diagram
Aggregation and Composition - Quiz
Each question is worth one point. Select the best answer or answers for each question.
1.
A PC is composed of a motherboard, disk drives, and I/O devices. The PC is sold as a single unit without optional configurations. This example should be modeled as
Please select the best answer.
A.
Aggregation
B.
Composition
C.
Association
2.
A travel package consists of airfare, hotel, and rental car reservations. This example should be modeled as
Please select the best answer.
A.
Aggregation
B.
Composition
C.
Association
3.
Employees use our company cars. This example should be modeled as
Please select the best answer.
A.
Aggregation
B.
Composition
C.
Association
4.
The motors in the generators are replaced every 6 months. The motors are rebuilt and put back into service. This example should be modeled as
Please select the best answer.
A.
Aggregation
B.
Composition
C.
Association
5.
PCs are assigned to employees and follow them to each new job assignment. This example should be modeled as
Please select the best answer.
A.
Aggregation
B.
Composition
C.
Association
6.
A class is composed of 5 to 20 students and one or more instructors. This example should be modeled as
Please select the best answer.
A.
Aggregation
B.
Composition
C.
Association
7.
Our printers have replaceable ink cartridges, but we do not keep the cartridge when we dispose of the printer. This example should be modeled as
Please select the best answer.
A.
Aggregation
B.
Composition
C.
Association
8.
Each kit comes with four spare widgets. Incomplete kits are destroyed. This example should be modeled as
Please select the best answer.
A.
Aggregation
B.
Composition
C.
Association
9.
These phones are so cheap that when parts such as the speaker or microphone fail, we just replace the whole phone. This example should be modeled as
Please select the best answer.
A.
Aggregation
B.
Composition
C.
Association
10.
Our company is actually made up of a number of smaller companies. This example should be modeled as
Please select the best answer.
A.
Aggregation
B.
Composition
C.
Association
Your Score: 0
Submit
Quiz Explanation
UML Distilled