1 / 13

Use case tutorial

Use case tutorial. examples. Example 1. Question2: Online registration system

sevita
Download Presentation

Use case tutorial

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Use case tutorial examples

  2. Example 1 • Question2: Online registration system • King AbdulAziz University established a new online registration system for external students . At the beginning of each semester students may request a course catalogue containing a list of course offerings for the semester. Information about each course, such as professor, department, and prerequisites will be included to help students make informed decisions. • The new on-line registration system will allow students to select four course offerings for the coming semester. In addition, each student will indicate two alternative choices in case a course offering becomes filled or canceled. No course offering will have more than ten students. No course offering will have fewer than three students. • A course offering with fewer than three students will be canceled. Once the registration process is completed for a student, the registration system sends information to the billing system, so the student can be billed for the semester. • Professors must be able to access the on-line system to indicate which courses they will be teaching. They will also need to see which students signed up for their course offering. • For each semester, there is a period of time that students can change their schedules. Students must be able to access the on-line system during this time to add or drop courses. The billing system will credit all students for courses dropped during this period of time.

  3. Example 1(cont..) • You are required to • Maintain Use-case Diagram. • Write the use-case description using the expanded format (with typical course of events and alternatives sections) for manage schedule use-case, create schedule, add course, delete course.

  4. Use case diagram View Students professor student <<extend>> <<extend>> <<extend>> biling system <<Include>> < <Include>> Manage schedule View Course Receive information Create course Add course Delete course View catalogue

  5. Manage schedule Use case • Manage schedule • Name: manage schedule. • Actor: student, billing system. • Description: The use case begins when the student wants to create schedule for the next semester or update his current schedule. • Type: primary, essential. • Cross reference: add, delete and create. • Precondition: the student has an account in the system.

  6. Expanded use case (cont..) • Typical course of event

  7. Expanded use case (cont..) • Alternatives • Alternative at 2: If an invalid id number is entered, the system will not allow access to the registration system. • Alternative at 5: • If the student select current semester, system will display (update schedule). • If student select next semester, system will display (create). • Alternative at 6 • Extension point: If student select create, go to create use-case. • Extension point: If student select add, go to add use-case • Extension point :If student select drop, go to drop use-case

  8. Create Use case • Alternative at 5: If a primary course offering is not available, the system will substitute an alternate course offering.

  9. Add course Use case Alternative at 4: if the system can't add the course for any reasons, then it will display a message to indicate that.

  10. Delete course Alternative at 3: if minimum course load for the student was exceeded due to the delete, then drop operation will stop.

  11. Use case-example • The Indian railways wish to develop a ticketing and reservation system. This must support advance booking of tickets and change of class of a ticket. All this is handled by the reservation clerk. The system will also have a web interface where the users can register themselves and purchase tickets online. They can pay either by using their online banking account or by credit cards or by VPP. Reservations made over the internet can be canceled across the counter. The users can also print the tickets. The seats are updated when ever the reservation is made or canceled . In case of payment failure a notification is generated by the system The system will also have querying facility that allows users to check train timetables, fares and availability of tickets.

  12. Use cases Cancel reservation Make Reservation Register as member Modify Class Print ticket Check fare Query timetable Make Payment

  13. HW • You are required to • Maintain Use-case Diagram. • Write the use-case description using the expanded format (with typical course of events and alternatives sections) for make reservation;

More Related