Automated Teller Machine (ATM)
Automated Teller Machine (ATM)
Automated Teller Machine (ATM)
(ATM)
What is an ATM?
• Stakeholders:
- Customer: Wants quick, accurate withdrawal of cash
- Bank: Wants to give fast, accurate and reliable service to the
customer
- Bank that owns ATM: (If not the same as the customer’s bank):
Wants to charge the customer the correct amount of surcharge on the
withdrawal.
• ATM Administrator: Wants to ensure that the ATM always has
sufficient cash for a predicted number of withdrawals per day.
Normal flow of events
1) The customer inserts ATM card into the ATM machine and
enters PIN.
2) The system validates the ATM card and PIN .
3) The customer selects the ‘Cash Withdrawal’ option from the
Options Menu.
4) The system prompts the customer to enter the amount of
cash that he or she wants to withdraw.
5) The customer enters a cash amount and selects the
‘Submit’ option on the Cash Withdrawal Screen.
Normal flow of events cont…..
State Diagrams :
The transition between difference states is represented as an
arrow between states, and a condition of that transition
occurring may be added between square braced. This
condition is called a guard
State diagram for ATM System
State diagram for transaction
Interaction Diagrams