This is the stagingdrafts environment running on https://bkleinen.github.io/stagingdrafts/
This site contains unpublished changes and draft documents.
- please visit the production website at https://home.htw-berlin.de/~kleinen/ instead!
 

B15 Informatik 3 (Info3)

Website of Prof. Dr. Barne Kleinen, Professor for Media Informatics (Bachelor/Master) at HTW Berlin

Exercise 05 - UML Part IV: Sequence Diagrams

     <prev next>

Launch Sequence Pelican launch sequence. Foto by Don McCullough

Prelab

Martin Fowler’s Chapter about Sequence Diagrams from the book “UML Distilled” is available as a sample chapter online.

Read it as a preparation for the lab.

Assignment

  1. As a finger exercise for Sequence Diagrams, pick one of the following example projects from the first semester and draw a sequence diagram for the main use case:

    • The Clock Display / Use case: timeTick() is called
    • Auction / Use case: makeABid() is called
    • Tech Support / Use case: user command is entered (start() method in SupportSystem)
    • The Zuul Project / Use case: user enters command (method: play() in Game.java)
  2. Now take your scenarios from the second exercise and have a good look at them. There are a number of processes that you should have detailed in your scenarios - if not, now you learn how to be thorough :) You need to draw sequence diagrams for the following use cases:

    • Ordering a Pumpkin/Treat
    • one other use case of your choosing

If you feel like it, you can continue with a sequence diagram for additional use cases.

Report - what to hand in

Your report is due at 23.00 the day before the next lab and should include all materials (including copies of the scenarios used), properly marked with the authors of these scenarios. Don’t forget to include your own names on your report, and post the materials in the Moodle area for each team member.