Hide menu

TDDB84 Design Patterns

Seminar 1: Describing and using design patterns (UPG1)


The goal with the first seminar is for you to be able to describe, and make use of, a number of design patterns as described in the course literature.


You will get to read about a set of design patterns from the course book, three per pair. During the seminar you get to present to your peers the design patterns that you have encountered and how they work.

Read specifically the Intent, Motivation, Applicability and Structure of 4 design patterns per person in the Gang of Four course book.

In each team, there will be up to six people divided in three pairs. Here, I denote the pairs in the team 1-3. For each member, I list the design patterns each pair should read, and be prepared to present to the rest of the team during the seminar.

  1. 1: Abstract Factory, Prototype, Memento
  2. 2: Bridge, Chain of Responsibility, Singleton
  3. 3: Decorator, Proxy, Command

Reading list

Definitions of coupling, cohesion and SOLID.

We assume that you are comfortable reading and writing UML class diagrams but if not, please follow a tutorial on UML, specifically how to draw class diagrams in UML to make yourself more comfortable with the notation.

The course book, selected chapters as described above.


During the first half of the seminar, you will present to one another your design patterns using appropriate UML representations, as well as examples of their use, effects and properties. Share your presentations within your teams before the seminar, so everyone has a chance to read your descriptions. During the second half of the seminar, your seminar assistant will presented to you a set of use cases. See detailed instructions in PDF. Within your team, decide on a design pattern that you would like to use, and why, to implement the functionality described in each case. A random member of each team will get to present your proposed design.

Passing requirements

This seminar is part of UPG1, and has the following requirements:
  • Each pair shall submit short descriptions of each of the three design pattern you had to study with your own words, along with an example of how and when to use it that you create yourselves.

    Send your descriptions to your teaching assistant’s email address for UPG1 before the seminar. Consult the Staff page if you are unsure what this address is, and consult WebReg if you are not sure who your assistant is. In the subject line of your email, state clearly the name of the course and the number of the seminar as exemplified below:

    TDDB84: Submission Seminar 1
    In the signature, state clearly your names and student IDs as illustrated below:
    Name (student ID) and
    Name (student ID)
  • Active participation during the seminar.

Page responsible: Alachew Mengist
Last updated: 2018-08-28