Answered step by step
Verified Expert Solution
Link Copied!

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 five-digit 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 ?PIN, the screen will prompt a warning message and return to step
(a) to restart the authentication process.
If the user enters 1 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 2 to make a withdrawal, teh following action will take place
a. Ther screen displays a menu containing standard withdrawal amounts : RM 100(option 1),
RM 200(option 2), RM 300(option 3), RM 500(option 4), RM 1,000(option 5). The menu
also contains an option to cancel the transaction (option 6)
b. User enters a menu selection (1-6) 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 6), 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 (g).
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).
g. 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 3 to make a deposit, the followign actions accurs,
a. The screen prompts user to enter a deposit amount, or enter 0(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 (e.g RM125.00). 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
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2012 Administration

Authors: Adam Jorgensen, Steven Wort

1st Edition

1118106881, 9781118106884

More Books

Students also viewed these Databases questions

Question

Express each mixed number as an improper fraction. -3

Answered: 1 week ago