Presentation is loading. Please wait.

Presentation is loading. Please wait.

Use Case Diagram: Exercise 5 and 6 Yong Choi BPA CSUB.

Similar presentations


Presentation on theme: "Use Case Diagram: Exercise 5 and 6 Yong Choi BPA CSUB."— Presentation transcript:

1 Use Case Diagram: Exercise 5 and 6 Yong Choi BPA CSUB

2  Decomposition of the system How many subsystems?  Define participating actors (but no roles..)  Benchmark chapter 7 SoundStage use case diagram

3 Tips  Apply common sense and think in terms of system’s perspective.  Physical processes is nothing to do with system’s processes. In other words, most of physical processes do not need to be descried. delivery of a can of soda or money by the system

4 Description: Vending Machine  This use case documents the event of a customer purchasing a can of soda from a vending machine. The soda machine has a coin slot and also a dollar bill receptacle. The machine accepts nickels, dimes, and quarters, at one coin at a time. The machine only accepts one-dollar bills, placed face up, with the top of the bill on the left. The machine has a coin return lever that can be depressed to cancel the purchase and the money returned via the coin return receptacle. The machine also has a product receptacle in which cans of soda are dispensed to the user. And finally the machine has a digital display that is used to display messages related to product prices, amount of money deposited, product out of stock, using exact change, out of service, plus user- friendly messages such as “Thank You,” etc.

5 Precondition : Vending Machine  Machine has been stocked with product and currency for change.

6 Trigger : Vending Machine  This use case is initiated when the customer deposits currency (or prepaid card) into the vending machine.

7 Description: ATM  This use case documents the event of a customer withdrawing money from an ATM machine. The ATM has a bank card reader, a numeric keypad, a display screen, a money dispenser, and a receipt printer plus user-friendly messages such as “Thank You,” etc.

8 Precondition: ATM  Machine has been stocked with money. The customer has a bank card

9 Trigger: ATM  This use case is initiated when the customer inserts the bank card into the ATM.


Download ppt "Use Case Diagram: Exercise 5 and 6 Yong Choi BPA CSUB."

Similar presentations


Ads by Google