This site is from a past semester! The current version will be here when the new semester starts.

Week 8 [Fri, Sep 30th] - 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 you draw in your first few attempts to look amateurish, messy, and hard to read, and the drawing itself will take a long time. 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 experiences happen in the tutorial, not 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.