Week 8 [Mon, Oct 7th] - Tutorial

1 Exercise: interpret a class diagram

  • Do the following exercise as directed by the tutor.

Explain Class Diagram


2 Exercise: draw an object diagram

[Image source: this article]

Hand-drawing diagrams on a white-board and on paper is an important practical skill (e.g., for technical interviews, project discussions). It's possible that the diagrams first few UML hand drawing attempts to feel laborious/slow, and the result look amateurish/ messy/hard-to-read. With more practice, you will be able to draw such diagrams quicker (e.g., draw as you explain verbally your design), with less need for corrections, and the diagrams will look more professional too.

That is why we have structured these tutorials to get everyone to practice this skill so that your first few (not-so-good) diagram drawing attempts to happen in the course, rather than in an interview or during your internship.

Note the following:

  • Draw on paper or on a whiteboard or use a free-hand drawing software (e.g., Bamboo Paper). If latter, do not use UML software or predefined shapes.
  • For the same reason, don't use rulers.
  • When the tutor asks you to, take a screenshot or a photo of the drawing and post in the tutorial workspace document.
  • There are mobile apps (example) that can take a photo of a document and and convert it to a high-quality scan.
  • Do the following exercise while noting the info in the box above.

Draw an Object Diagram for the Class Diagram (Person-Guardian)


  • Discuss answers as guided by the tutor.

3 Exercise: draw a class diagram

  • Do the following similar to the earlier exercise.

Draw Class Diagram for Box etc.