A requirements document specifies the purpose of the ATM system and what it must do. Requirements Document A local bank intends to install a new automated teller machine (ATM) to allow users (i.e., bank customers) to perform basic transactions Each user can have only one account at the bank. ATM users view their account balance withdraw cash deposit funds
ATM user interface: a screen that displays messages to the user a keypad that receives numeric input from the user a cash dispenser that dispenses cash to the user and a deposit slot that receives deposit envelopes from the user.
The cash dispenser begins each day loaded with 500 $20 bills.
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.
Software should encapsulate the functionality of the hardware devices within software components, but it need not concern itself with how these devices perform their duties. Use the computer’s monitor to simulate the ATM’s screen, and the computer’s keyboard to simulate the ATM’s keypad.
An ATM session consists of authenticating a user based on an account number and personal identification number (PIN) creating and executing financial transactions
To authenticate a user and perform transactions interact with the bank’s account information database For each account, the database stores an account number, a PIN and a balance indicating the amount of money in the account.
Simplifying Assumptions: the bank plans to build only one ATM, so we need not worry about multiple ATMs accessing this database at the same time the bank does not make any changes to the information in the database while a user is accessing the ATM. an ATM faces reasonably complicated security issues that are beyond our scope. the bank trusts the ATM to access and manipulate the information in the database without significant security