In: Computer Science
Write (describe) the “Withdraw Transaction” Use Case of the ATM system using the following template: Use Case name, participating actors, entry condition, exit condition, flow of events.
Use Case Name:
WithdrawCash
Participating Actor:
BankUser
Entry Condition:
First the BankUser is authenticated with a card and password. Then the BankUseractivates the “Withdraw” function of the ATM system. The ATM program responds by presenting an entry screen.
Flow of Events:
1. The ATM machine first displays menu of withdrawal amount and option to cancel.Then it inputs the menu selection.
2. If the user cancels the transaction, the menu program exits.
3. Otherwise (user selects an amount) it sets amount attribute, gets available balanceof user’s account from database.
4. If the required amount is greater than the available balance, it displays anappropriate error message.
5. Otherwise it tests whether sufficient cash is available in the cash dispenser. If thereis insufficient cash in the cash dispenser, it displays an appropriate error message.Otherwise it interacts with the database to debit amount from user’s account.
6. Then it dispenses cash and instructs the user to take cash.
Exit Condition:
1. The BankUser takes the cash from the dispenser unit of the ATM machine
2. The BankUser cancels the transaction
Exceptions:
None (handled in Flow of Event)
Special Requirements:
The user interface should be simple and used by anyone(From children to elder people).
Hope this may help you.
Thank you ??