OOPortal OOPortal

Object Diagrams  «Prev  Next»

Testing Diagrams - Exercse

Objective:Test a class diagram with an object diagram.


Identify the changes that need to be made to correct the original Triangle class diagram.
Triangle class diagram

Object diagram

  1. Review the Slide Show example.
  2. Compare the Triangle class diagram to the final result of the Slide Show object diagram (both shown above), and identify the errors in the class diagram.
  3. Redraw the Triangle class diagram to correct the errors.
  4. Briefly explain your changes in the text box below.

Exercise scoring

This exercise is worth a total of 10 points. It is auto-scored, which means all you need to do to receive full credit is click the Submit button below.