Video System

Only available on StudyMode
  • Topic: Unified Modeling Language, Renting, Use case
  • Pages : 3 (583 words )
  • Download(s) : 467
  • Published : January 31, 2013
Open Document
Text Preview
1. The description the requirement of the video system is as below. -------------------------------------------------
A video store system runs a series of fairly standard video stores. Before a video can be put on the shelf, it must be cataloged and entered into the video database. Every customer must have a valid customer card in order to rent a video. A customer rents the video for three days at a time. Every time a customer rents a video, the system must ensure that they do not have any overdue videos. If so, the overdue videos must be returned and an overdue fee must be paid before the customer can rent more videos. Likewise, if the customer has returned overdue videos, but has not paid the overdue fee, the fee must be paid before a new video can be rented. Every morning, the store manager prints a report that lists overdue videos. If a video is two or more days overdue, the manager calls the customer to remind him/her to return the video. If a video is returned in a damaged condition, the manager removes it from the video database and may sometimes charge the customer. a. Draw a use case model for the video system described above. Manager

Manage customer
Add video
Rent
Return
Overdue
Print report
Delete video
charge
Customers

(10 marks)
b. Rental is one of the use cases in the video system. Write a Rental use case description using detail format (Use case name, actor(s), brief description, pre-condition, post-condition, main scenario (flow of events), and alternative flows and exceptions). (10 marks)

c. Draw a system level sequence diagram for the Rental use case based on the main scenario in answer for (b). (5 marks)

2. The case study below is about the patient treatment process in a clinic. -------------------------------------------------
Whenever new patients are seen for the first time, they complete a patient information form that asks for their name, address, phone number and insurance carrier, which are...
tracking img