11.8. Exercises

  1. Prepare a sequence diagram for Scenario #2, as presented earlier in this chapter.

  2. Prepare a sequence diagram to represent a Scenario #3 for the SRS use case:

    • Mary, a student, logs on to the SRS.

    • She indicates that she wants to drop ART 222, Section 1.

    • ART 222, Section 1 is removed from Mary's course load.

    • The system determines that Joe, another student, is waitlisted for this section.

    • The section is added to Joe's current course load.

    • An email is sent to Joe notifying him that ART 222 has been added to his course load.

  3. Provide a list of all the method headers that you would add to each of your classes based on the sequence diagram that you prepared for exercise 2. Also, note any new classes, fields, or relationships that would be needed. ...

Get Beginning C# 2008 Objects: From Concept to Code now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.