Question
a.
Composition is the real-world part-of relation and aggregation is the representational part-of relation
b.
Composition is the representational part-of relation and aggregation is the real-world part-of relation
c.
Composition and aggregation have the same meaning
d.
Composition and aggregation are not related
Posted under Software Engineering
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. What is the difference between composition and aggregation in UML?
Similar Questions
Discover Related MCQs
Q. Is the part-of relation transitive?
View solution
Q. Is the member-of relation transitive?
View solution
Q. Who controls the activities around UML?
View solution
Q. What is the current version of UML?
View solution
Q. How many diagrams does UML 2 have?
View solution
Q. What type of view do static diagrams give in UML 2?
View solution
Q. What is a class diagram in UML?
View solution
Q. What are the three compartments of a class in a class diagram?
View solution
Q. What type of relationship can be depicted in a class diagram?
View solution
Q. What is a subclass-superclass hierarchy in a class diagram?
View solution
Q. What does UML allow for in terms of class representation in a class diagram?
View solution
Q. What is Activity Diagram used for?
View solution
Q. What is Class Diagram used for?
View solution
Q. What is Communication Diagram used for?
View solution
Q. What is the difference between activity diagram and sequence diagram in UML?
View solution
Q. What is the purpose of the object diagram in UML?
View solution
Q. What is an association in UML?
View solution
Q. What is the difference between an attribute and an association in UML?
View solution
Q. What is an association class in UML?
View solution
Q. What is the difference between aggregation and composition in UML?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Software Engineering? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!