OOPortal OOPortal

System Design  «Prev  Next»

Object Design Tools - Quiz

Each question is worth one point. Select the best answer or answers for each question.
1. How do the interaction diagrams aid in the process of defining a class?
Please select the best answer.
  A. The interaction diagrams are drawn from the client's perspective so they don't use technical jargon.
  B. The interaction diagrams identify interfaces required for the communication between objects.
  C. The interaction diagrams identify the internal behavior of the participating objects.
  D. The interaction diagrams are drawn using classes so it is easy to see how each class participates in the dialog.

2. How does an activity diagram help you define a class?
Please select the best answer.
  A. Activity diagrams model logic, so they are very good for designing the implementation of an operation or interface.
  B. Activity diagrams model the logical relationships between objects, so they are good for identifying associations.
  C. Activity diagrams document the communication between objects.
  D. Activity diagrams document the attribute definitions and edit rules for each attribute.

3. What parts of a statechart diagram map to parts of a class definition?
Please select the best answer.
  A. The states translate into events passed between objects.
  B. The events, actions, and activities translate to operations. The arguments and returns translate to attributes.
  C. The events become interfaces on the class of the receiving object.
  D. The actions and activities translate to interfaces used in the communication between objects.

4. What part/s of an interaction diagram may be modeled with an activity diagram?
Please select the best answer.
  A. Conditional interactions between objects that cannot be represented in an interaction diagram
  B. The reflexive/recursive events only, for example, events in which the object refers to one of its own internal operations
  C. The design of individual events/interfaces, for example, the logic used to implement the response to the event
  D. The transitions in the state of an object during the time-span of the interaction

5. Where do you find attributes that should be assigned to your class definitions?
Please select the best answer.
  A. Derive the attributes from the definition of the class in the data dictionary by identifying the properties that best describe the objects included in the class.
  B. Identify the attributes from the class descriptions referenced in the use cases.
  C. Each argument/parameter and return value in every operation becomes an attribute on some object in the model.
  D. Find the nouns in the data dictionary that do not represent classes but are still required as part of the problem domain because they are referenced by the users in describing the system functionality.

Score =
Correct answers: