Case Study 01
Case Study 01
Case Study
A newly opened Sri Lankan bank is planning to install a new automated teller machine (ATM) to
allow their users to perform basic financial transactions. ATM users should be able to view their
account balance, withdraw cash and deposit funds.
Upon first approaching the ATM, the user should experience the following sequence of events.
1. The screen displays a welcome message and asks the user to insert the debit card.
2. The screen prompts the user to selects the language, using the keypad.
3. Then the screen prompts the user to enter the PIN associated with his/her account.
4. The user enters a four-digit PIN, using the keypad.
5. If the user enters a correct PIN the screen displays the main menu . If the user enters an incorrect
PIN, the screen displays an appropriate ERROR message, then the ATM returns to Step 3 to restart
the authentication process.
6. After the ATM authenticates the user, the main menu displays a numbered option for each of the
three types of transactions:
1. Balance inquiry
2. Withdrawal
3. Deposit
Upon selection the withdrawal process , the user should experience the following sequence
of events
7. User selects the withdrawal process. Then the screen prompts the user to selects the account
type containing Current account, Savings account.
8. Then the screen displays a text-field to enter the withdrawal amount. The menu also contains an
option to allow the user to cancel the transaction. If the user chooses to cancel the transaction
the ATM displays the main menu and waits for user input.
9. If the withdrawal amount chosen is greater than the user’s account balance, the screen displays a
ERROR message telling the user to choose a smaller amount. The ATM then returns to Step 8. If the
withdrawal amount chosen is less than or equal to the user’s account balance the ATM proceeds to
Step 10. If the user chooses to cancel the transaction the ATM displays the main menu and waits for
user input.
10. If the cash dispenser contains enough cash to satisfy the request, the ATM proceeds to Step 11.
Otherwise, the screen displays a ERROR message indicating the problem and telling the user to
choose a smaller withdrawal amount and the ATM then returns to Step 8.
11. The ATM debits the withdrawal amount from the user’s account balance in the bank’s database.
12. The cash dispenser dispenses the desired amount of money to the user and release the debit
card.
13. The screen displays a message reminding the user to take the money and the debit card.
4.
Read the above case study and answer the following questions.
i. Draw a UML Use case diagram for Steps 1-6 from the ATM’s perspective. (5 marks)
ii. Draw a UML Use case diagram for Steps 7-13 from the User’s perspective. (15 marks)