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

Week 13 [Fri, Nov 5th] - Lecture

Exercise: draw a sequence diagram

  • [before the lecture] Do the following exercise (you may hand-draw or use a drawing software e.g. PowerPoint, draw.io.

Draw a Sequence Diagram for the code (PersonList, Person, Tag)


How would you update the diagram if the PersonList class was updated as follows?

class PersonList{
    void addPerson(Person p){
        add(p);
    }

    void add(Person p){
        //...
    }
}


Lecture 2 [Fri, Nov 12th ]

  • No formal lecture but instructors are available for consultation. Use this slot to work on the project.