Logical View  «Prev  Next»

Object Model - Quiz

Each question is worth one point. Select the best answer or answers for each question.
 

1. Delegation is an alternative for using
Please select the best answer.
  A. Inheritance
  B. Aggregation
  C. A qualified association
  D. An association class

2. Association classes Please select the best answer.
  A. May not be associated with other classes
  B. May be used like other classes
  C. May be associated with no more than two classes
  D. May be used only on many-to-many associations

3. Operations specify the
Please select the best answer.
  A. Implementation of a class behavior
  B. Interface and implementation
  C. Interface for a class behavior
  D. Constraints on an implementation

4. Reflexive associations are used
Please select the best answer.
  A. When roles are required
  B. When more than two classes participate in an association
  C. To qualify associations to reduce multiplicity
  D. When objects in the association are from the same class

5. Discriminators are used with
Please select the best answer.
  A. Aggregations
  B. Generalization
  C. Qualified associations
  D. Reflexive associations

6. The asterisk in multiplicity means
Please select the best answer.
  A. Many
  B. Zero to many
  C. More than 1
  D. Not required

7. Qualified associations use
Please select the best answer.
  A. A class attribute as an identifier
  B. An association as an identifier
  C. A unique value to reference an object
  D. A unique association to reference an object

8. Aggregation is different from composition because
Please select the best answer.
  A. The parts of an aggregation go away when an aggregate goes away
  B. Composition lasts longer than aggregation
  C. Composition is modeled using a context diagram
  D. The parts of a composition go away when a composite goes away

Correct answers:

Your Score: 0