Model Reconciliation  «Prev  Next»

Model Reconciliation - Quiz

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

1. If you finish all the sequence diagrams and you find that a class is not represented in any of the scenarios, what should you do?
Please select the best answer.
  A. Delete the class from the class diagram because it is not needed.
  B. Ask the users how the resource is used. You may have missed a use case or a scenario, or it might be out of scope.
  C. Keep the class because it will probably be needed later and you don't want to lose any information that has been documented.
  D. Fix the sequence diagrams.

2. When you develop the sequence diagram, you sometimes find that a new event is needed to make the scenario work. What should you do?
Please select the best answer.
  A. Do not add the event, because the sequence diagram should stay in sync with the scenario used as the source.
  B. Don't add the event, because you have proceeded into a level of detail that is not appropriate for this phase of the project.
  C. Add the event and reconcile the change with the scenario to keep the two views in sync.
  D. Add the event to the sequence diagram only so that you can follow the evolution of the process from scenario to sequence diagram.

3. During the development of the class diagram, you will be asking the users some very detailed questions about the problem domain resources used to make classes. You are likely to discover new use cases or new scenarios. What should you do?
Please select the best answer.
  A. Add the new use cases and/or scenarios. Add the classes. Add the corresponding interaction diagrams for each new scenario. Reconcile all the diagrams.
  B. Add the new classes if the new use cases and/or scenarios justify the need for them in the scope of this project. Put the new resources definitions into the data dictionary.
  C. Add the classes and update the data dictionary using the use cases and/or scenarios to determine the resource definition.
  D. Add the scenarios and update or create corresponding sequence diagrams.

4. When you define the events in the sequence diagram, you have to draw the event from a sending object to a receiving object. What do you do if there is no direct association between the classes that these objects belong to?
Please select the best answer.
  A. Sequence diagrams define only the required interfaces on the destination object, so they do not have to include the complete path to the object.
  B. Add an association between the two corresponding classes so that the two objects can communicate directly.
  C. Find another object to handle the event because the object you picked is not available to receive the event.
  D. Refer to the class diagram to identify the path that the communication must follow. Add the intervening objects to the sequence of events.

5. Events become operations. Operations include input arguments and return values. What do you do when the sending object does not own the argument values it uses in the event?
Please select the best answer.
  A. Find the object(s) that own the values. Move the attributes from those objects to the one that needs them for the event.
  B. Find the object(s) that own the values. Provide the events needed to obtain the values. Add the new object(s) and the new event(s) to the sequence diagram.
  C. Add the attributes to the sending object so that they are accessible when the object needs to send the event.
  D. Move the responsibility for sending the event to the object that owns the attribute values.
Correct answers:

Your Score: 0