Question
A Video Store (AVS) runs a series of fairly standard video stores. Before a video can be put on the shelf, it must be cataloged
A Video Store (AVS) 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 AVS 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 they do 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 them 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.
Exercises:
Evaluate the AVS scenario and create a package diagram for the system. The package diagram should include packages for the user interface, the problem domain layer and data storage. (10 points)
Choose one of the classes you identified in the AVS scenario. Choose one of the methods in the class that you chose and create a method specification for it (refer to sample below based on Chapter 8 Classes and Method Design). Use structured English to specify the algorithm. (10 points)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started