14.8 HOMEWORK


14.8 HOMEWORK

  1. Construct a use case diagram that portrays the following actors and use cases:

    1. An actor named Student

    2. An actor named College

    3. The following use cases specific to the actor Student: "List All Courses," "Pay Fees," "Registration," and "Search for a Course". The use case "Search for a Course," meant to help a student decide which courses to sign up for, should extend the use case "List All Courses."

    4. The following uses specific to the actor College: "Maintain a Database of Students," "Registration," "Administer Examinations," "Check Student Qualifications." The use case "Registration" is the same as for the actor Student.

  2. Draw a sequence diagram showing the time progression of the interaction between the various objects needed for the following closely related set of use cases for an online course registration system for a college:

    The student first logs into the online course registration system. The student browses through the courses being offered next semester and selects what he/she needs. The online registration system makes sure that the student has the prerequisites for the courses selected and there is space available in those courses. The course selection is automatically forwarded to a faculty advisor. Upon approval from the advisor, a fee statement is sent to the student. If the faculty advisor disapproves, the student is notified. The student is considered registered when the fee is received. At that point, the student is sent his/her class schedule.

    You may first want to list the individual use cases needed for the interaction described above, then identify the classes required for the use cases, and, finally, construct an interaction diagram. Also show a collaboration diagram.

  3. Draw a statechart diagram that shows the different states of a Student object in the uses cases of the previous problem.

  4. Construct an activity diagram for the interactions of Problem 2.




Programming With Objects[c] A Comparative Presentation of Object-Oriented Programming With C++ and Java
Programming with Objects: A Comparative Presentation of Object Oriented Programming with C++ and Java
ISBN: 0471268526
EAN: 2147483647
Year: 2005
Pages: 273
Authors: Avinash Kak

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net