The Copperbelt University School of Mathematics and Natural Sciences Department of Computer Science
The Copperbelt University School of Mathematics and Natural Sciences Department of Computer Science
The Copperbelt University School of Mathematics and Natural Sciences Department of Computer Science
A Thandiwe Video Store (TVS) 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 TVS customer card in order to rent a video. Customers rent videos for three
days at a time. Every time a customer rents a video, the system must ensure that he or she does
not have any overdue videos. If so, the overdue videos must be returned and an overdue fee paid
before 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 new videos 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 or her to return the video. If a video
is returned in damaged condition, the manager removes it from the video database and may
sometimes charge the customer.
QUESTIONS:
4. Draw a Activity diagram for one of the use cases identified in the scenario above
[6
marks]
TWO VERSIONS
5. Develop an sequence diagram for one of the use cases identified in the scenario above
[8
marks]
Example 4: Video Rental
6. Draw an object/ design class model for your solution in Q3. [6 marks]
Total Marks = 50