RationalDB   Tweet
OOPortal RedhatLinuxSysAdmin




OO Problem Analysis  «Prev  Next»
UML Interaction Diagram - Quiz
Each question is worth one point. Select the best answer for each question.
 
1. The purpose of the interaction diagram is to
Please select the best answer.
  A. Discover and define the communication between objects
  B. Discover and define the sequence of interactions between objects
  C. Discover and define the interfaces on classes
  D. Discover and define the attributes that define an object

2. The definition of an operation includes
Please select the best answer.
  A. Name, arguments, and return data type where the return data type is optional
  B. Constraints, name, and arguments where the return data type and constraints are optional
  C. Return data type, name, and constraints where the return data type and constraints are all optional
  D. Name, arguments, return data type, and constraints where the arguments, return data type, and constraints are all optional

3. What elements are discovered using the sequence diagram and added to the class diagram?
Please select the best answer.
  A. Interfaces of the objects
  B. Classes of the objects in the sequence diagram, attributes, and operations
  C. Classes of the objects in the sequence diagram
  D. Operations and the associated attributes that appear as arguments in the operation definition


4. An attribute definition includes
Please select the best answer.
  A. Name, data type, and default value if applicable
  B. Name, arguments, and constraints
  C. Constraints, data type, and a default value if applicable
  D. Name, data type, default value, and constraints if applicable

5. Where can you find attributes in a sequence diagram?
Please select the best answer.
  A. In operation arguments
  B. In the objects that own the parameters' values
  C. In the responses to events
  D. In operation parameters and responses

6. If an object does not own the parameters it uses in an operation, then where do you look?
Please select the best answer.
  A. In the class diagram for a class that should own the data
  B. In the responding object
  C. In the sending object
  D. In other sequence diagrams that use the same type of parameters

7. How does the sending object obtain data from the object that owns the parameter values?
Please select the best answer.
  A. By adding an interface to the sending object and adding it to the interaction sequence
  B. By adding an interface to the owning object and adding it to the interaction sequence
  C. By reassigning the attributes to the object that receives the parameters
  D. By reassigning the attributes to the object that sends the parameters
Score =
Correct answers: