TFH Berlin

TFH Berlin
Fachbereich Informatik
Medieninformatik
SA31: Systemanalyse / SWT1: Softwaretechnik 1
Wintersemester 2000/2001


Lab 4: Sequence and Activity Diagrams


 

  1. Draw a sequence diagram for the warehouseOnFire scenario of Figure 2-17. Include the objects bob, alice, john, FRIEND, and instances of other classes you may need.
  2. Draw a sequence diagram for the ReportIncident use case of Figure 2-16. Make sure it is consistent with the sequence diagram of Exercise 1.
  3. Draw a sequence diagram for your use case BuyWeeklyCard. Extend the diagram to include the exception DistributorOrtOfChange being raised at some point. Are there different ways to raise the exception?
  4. Draw an activity diagram for modeling aDayInTheLifeOfAStudent. You can begin with a state Asleep that transitions to another state upon the AlarmClock ringing. Include at least six other states besides Asleep.
  5. Consider your watch as a system and set the time 2 minutes ahead. Write down each interaction between you and your watch as a scenario. Record all interactions, including any feedback the watch provides you. Feedback may include blinking, text, or beeping. Extract states and transitions from the scenario and draw an activity diagram for it.

 

The URL pointing to your report is due in my mailbox by 8:00 am the morning of your next exercise.


Copyright 2000, 2001 Prof. Dr. Debora Weber-Wulff
All rights reserved.
Questions or comments: <weberwu@tfh-berlin.de>
Letzte Änderung: 16.09.01 - 23:31