




















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
This course includes types of requirements, modeling of non functional, static and dynamic modelling, requirement elicitation and use case modeling. This lecture includes: Problem, Description, Entity, Class, Banking, System, String, Customer, Address
Typology: Slides
1 / 28
This page cannot be seen from the preview
Don't miss anything!
1
2
-^ A bank has several automated teller machines (ATMs), which aregeographically distributed and connected via a wide area network to acentral server. Each ATM machine has a card reader, a cash dispenser,a keyboard/display, and a receipt printer. By using the ATM machine,a customer can withdraw cash from either checking or savingsaccount, query the balance of an account, or transfer funds from oneaccount to another. A transaction is initiated when a customer insertsan ATM card into the card reader. Encoded on the magnetic strip onthe back of the ATM card are the card number, the start date, and theexpiration date. Assuming the card is recognized, the system validatesthe ATM card to determine that the expiration date has not passed, thatthe user-entered PIN (personal identification number) matches the PINmaintained by the system, and that the card is not lost or stolen. Thecustomer is allowed three attempts to enter the correct PIN; the card isconfiscated if the third attempt fails. Cards that have been reported lostor stolen are also confiscated.
4
-^ An ATM operator may start up and close down the ATM to replenishthe ATM cash dispenser and for routine maintenance. It is assumedthat functionality to open and close accounts and to create, update, anddelete customer and debit card records is provided by an existingsystem and is not part of this problem.•^ ‘Designing Concurrent, Distributed, and Real-Time Applications withUML’ by H. Gomaa, Addison-Wesley, 2000
5
7
DebitCard cardID: StringPIN: StringstartDate: DateexpirationDate: Datestatus: Integerlimit: Realtotal: Real
Account accountNumber: Stringbalance: Real
8
CheckingAccountlastDepositAmount: Real
SavingsAccount interest: Real
10
WithdrawalTransactionaccountNumber: Stringamount: RealBalance: Real
QueryTransactionaccountNumber: Stringamount: ReallastDepositAmount: Real
11
TransferTransaction fromaccountNumber: StringtoAccountNumber: Stringamount: Real
13
ATMCash cashAvailable: IntegerfiveHundreds: IntegeroneThousands: Integer
ATMCard cardID: StringstartDate: DateexpirationDate: Date
14
16
OperatorInterface
CustomerInterface
17
19
Has 1
20
Operator
Maintains 1