Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Auto Teller Machine ( ATM ) A local bank plans to install a new automated teller machine ( ATM ) to allow users to perform
Auto Teller Machine ATM
A local bank plans to install a new automated teller machine ATM to allow users to perform basic
financial transactions. Each user can have only one account at the bank. ATM users should be able to
i View their account balance
ii Withdraw cash take money out of account
iii. Deposit funds place money into an account
The user interface of the automated teller machine contains the following hardware components:
a A screen that displays messages to the user
b a keypad that recieves numeric input from the user
c a cash dispenser that dispense cash to the uer end
d a deposit slot that recieves cash from the user
The bank wants you to develop software to perform the financial transactions initiated by bank
customers through the ATM. The bank will integrate the software with the ATM's hardware at a later
time. The software should encapsulate the functionality of the hardware devices within software
components.
An ATM session consists of authenticating a user based on an account number and personal
identification number PIN followed by creating and executing financial transaction. In order to
authenticate the user, the ATM must interact with the bank's account infrmation database. The
database
stores an account number, a PIN and balance indicating the amount of money in each bank's
account.
The following sequence of events should experience by the user upon approaching the ATM,
a The screen displays a welcome message and prompts the user to enter an account's PIN
number
b The user enters a fivedigit PIN, usig keypad
c If user enters a correct PIN for that account, the screen displays the main menu as fllows:
d If user enters an incorrect the screen will prompt a warning message and return to step
a to restart the authentication process.
If the user enters to make a balance inquiry, the screen displays the user's account balance. To do
so the ATM must retrieve the balance from the bank database.
If user enters to make a withdrawal, teh following action will take place
a Ther screen displays a menu containing standard withdrawal amounts : RM option
RM option RM option RM option RM option The menu
also contains an option to cancel the transaction option
b User enters a menu selection using the keypad.
c If withdrawal amount is greater than user's account balance, the screen will prompt user to
choose a smaller amount, and retum to a
d If withdrawal amount is less than or equal to the user's account balance, the ATM proceeds
to step f
e If the user choose to cancel the transaction option the ATM displays the main menu
and wait inut from user.
f If cash dispenser contains enough cash to satisfy request, the ATM proceeds to step
Otherwise, the screen displays a message indicatign the problem and telling teh user to
choose a smaller withdrwal amount. Then ATM return to step a
The ATM debits the withdrawal amount from user's account balance in the bank's
database.
h The cash dipenser dispenses the desired amount of money
i The screen display message reminding the user to take the money.
If user enters to make a deposit, the followign actions accurs,
a The screen prompts user to enter a deposit amount, or enter zero to cancel the
transaction by using keypad.
b The keypad does not contain a decimal point or a dollar sign, so the user cannot type a
real ringgit amount eg RM Instead, the user must enter a deposit amount as a Tasks:
written report which shall contain the following:
Introduction to the assigned task
The proposed
i Use Case Diagram,
ii Class Diagram,
iii. Sequence Diagram
iv Activity Diagram
Discussion Justification on all the provided UML
diagrams.help
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started