Chapter 13

 < Day Day Up > 



Chapter 12

  1. A class built from other class types is referred to as an ___________________.

    Aggregation

  2. List the two types of aggregation.

    Simple and composite

  3. Discuss each of the types of aggregation you listed above in terms of what role part objects play in each.

    In simple aggregation part objects exist outside the aggregation whereas a composite aggregate creates and destroys its part objects.

  4. In this type of aggregation, part objects belong solely to the whole or containing class. Name the type of aggregation.

    Composite aggregate

  5. In this type of aggregation, part object lifetimes are not controlled by the whole or containing class. Name the type of aggregation.

    Simple aggregate

  6. What does the line drawn between classes in a UML class diagram denote?

    An association

  7. What type of aggregation does a solid diamond indicate when attached to one end of an association line?

    Composite aggregation

  8. What type of aggregation does a hollow diamond indicate when attached to one end of an association line?

    Simple aggregation

  9. In a UML class diagram, the aggregation diamond is drawn closest to which class, the whole or the part?

    The whole or aggregate class

  10. What is the purpose of a UML sequence diagram?

    To graphically represent object message sequencing.



 < Day Day Up > 



C++ for Artists. The Art, Philosophy, and Science of Object-Oriented Programming
C++ For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming
ISBN: 1932504028
EAN: 2147483647
Year: 2003
Pages: 340
Authors: Rick Miller

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net