Chapter 6
4. Given the following narrative, create a systems sequence diagram.
Quality Building Supply has two kinds of customers: contractors and the general public. Sales to each are slightly different.
When a contractor buys materials, he or she takes them to the contractor checkout desk. The clerk enters the contractor name into the system. The system displays the contractor details, including his/her current credit standing. The clerk then opens up a new ticket (sale) for the contractor. Next, the clerk then scans in each item to be purchased. The system finds the price of the item and adds the item to the ticket. At the end of the purchase, the clerk indicates end of sale. The system compares the total amount against the contractor’s current credit limit, and if it is acceptable, finalizes the sale. The system creates an electronic ticket for the items, and the contractor’s credit limit is reduced by the amount of the sale. Some contractors like to keep a record of their purchases, so they request that the ticket details be printed out. Others aren’t interested in a printout.
Note:
There is no input/output pairing for the message total; the text doesn’t specify one but it could be specified as an input message “finish” and written under the line shown.
The “[receipt?]” represents a conditional input (“if receipt is requested?”).
Case Study: DownTown Video Rental System
DownTown Videos is a chain of 11 video stores scattered throughout a major metropolitan area in the Midwest. The chain started with a single store several years ago and has grown to its present size. Paul Lowes, the owner of the chain, knows that to compete with the national chains will require a state-of-the-art movie rental system. You have been asked to develop the system requirements for the new system.
Each store has a stock of movies and video games for rent. It is important to keep track