This site is not ready yet! The updated version will be available soon.
CS2103/T 2020 Jan-Apr
  • Full Timeline
  • Week 1 [Aug 12]
  • Week 2 [Aug 19]
  • Week 3 [Aug 26]
  • Week 4 [Sep 2]
  • Week 5 [Sep 9]
  • Week 6 [Sep 16]
  • Week 7 [Sep 30]
  • Week 8 [Oct 7]
  • Week 9 [Oct 14]
  • Week 10 [Oct 21]
  • Week 11 [Oct 28]
  • Week 12 [Nov 4]
  • Week 13 [Nov 11]
  • Textbook
  • Admin Info
  • Report Bugs
  • Forum
  • Instructors
  • Announcements
  • File Submissions
  • Tutorial Schedule
  • Java Coding Standard
  • Participation Marks List

  •  Individual Project (iP):
  • Individual Project Info
  • Duke Upstream Repo
  • iP Code Dashboard
  • iP Showcase

  •  Team Project (tP):
  • Team Project Info
  • Team IDs
  • Addressbook-level3
  • Addressbook-level 1,2,4
  • tP Code Dashboard
  • tP Showcase
  • Week 9 [Oct 14] - Tutorial

    1 Demo v1.2

    Relevant: [Admin tP v1.2: Demo ]

    Demo new features

    • Do an informal demo of the new features during the tutorial. To save time, we recommend that one member demos all new features, using the commit tagged as v1.2 in the master branch i.e. only features included in the current release should be demoed.

    2 Do a Postmortem of v1.2

    • Share with the tutor your opinion on how v1.2 went, and your plans to improve the process (not the product) in v1.3, individually and as a team.

    3 Exercise: OODMs, Activity Diagrams

    3A. 10-12 minutes Divide into two sub-teams and do the following questions on the whiteboard.

    Sub-team 1: You can use the association class notation in the answer.

    (i) Draw an OODM for the description below, about how courses work in a certain university:

    A course has a name and a code. A course is read by 10 or more students, and taught by a team of instructors one of whom is the coordinator. A course can have a number of tasks which can be assignments or tests. Some assignments are compulsory. When a student attempts a task, a grade and an optional feedback is given.

    You can use the following layout for the diagram. Add more classes if needed.

    (ii) Which type of a UML diagram would you use to illustrate the following situation?

    The course CS101 Intro to CS is taught by Prof Lee. It has two optional assignments and one test.

    Sub-team 2:

    Draw an activity diagram to represent the following workflow a burger shop uses when processing an order by a customer.

    • First, a cashier takes the order.
    • Then, three workers start preparing the order at the same time; one prepares the drinks, one prepares the burgers, and one prepares the desserts.
    • In the meantime, the customer pays for the order. If the customer has a voucher, she pays using the voucher; otherwise she pays using cash.
    • After paying, the customer collects the food after all three parts of the order are ready.


    [source:wikipeida]

    3B. 5 minutes Familiarize yourself with the question the other sub-team worked on.

    3C. [Group activity] Review the other sub-team's answer.