RationalDB 





Unified Modeling Language   «Prev  Next»
Object diagram notation versus class diagram notation - Quiz
Each question is worth one point. Select the best answer or answers for each question.
 

1. The operation compartment is used in
Please select all the correct answers.
  A. A class
  B. An object
  C. A use case

2. Attribute values appear
Please select the best answer.
  A. Only in an object diagram
  B. Only in a class diagram
  C. Only in coded test data
  D. Only in the scenario specification

3. Links require the following elements:
Please select the best answer.
  A. Multiplicity
  B. Constraints
  C. Name and roles
  D. Name and/or roles


4. Links are found
Please select the best answer.
  A. On a class diagram
  B. On an object diagram
  C. In a scenario
  D. Between classes and objects

5. An object is named
Please select the best answer.
  A. With a noun
  B. With a noun, a colon, and then a class name
  C. With a number and a colon followed by a class name
  D. Just like a class

6. Multiplicity is used
Please select all the correct answers.
  A. On object and class diagrams
  B. On associations
  C. Only on links


7. Constraints are used
Please select the best answer.
  A. Sometimes on links as well as associations
  B. Only on associations and other class-level elements
  C. On objects but not on links
  D. Only on objects and other object level elements

8. The object diagram is used for
Please select the best answer.
  A. Testing and verifying the use cases
  B. Modeling scenarios
  C. Analyzing and testing class diagrams


9. Scenarios are
Please select the best answer.
  A. The same as use cases
  B. The same as test cases
  C. Used to derive test cases
  D. The same as object diagrams


10. Operations are shown
Please select the best answer.
  A. In classes only
  B. In classes and objects
  C. In objects only
  D. Always in classes and only rarely in objects