Home /
Expert Answers /
Computer Science /
draw-sequence-diagram-for-an-atm-machine-system-below-are-descriptions-about-the-use-cases-fo-pa622
(Solved):
Draw sequence diagram for an ATM Machine system. Below are descriptions about the use cases fo ...
Draw sequence diagram for an ATM Machine system. Below are descriptions about the use cases for this system. Actors involved: - Customer - Bank
Following are the names and brief description of each use case of the ATM system - Session Use Case A session is started when a customer inserts an ATM card into the card reader slot of the machine. The ATM pulls the card into the machine and reads it. (If the reader cannot read the card due to improper insertion or a damaged stripe, the card is ejected, an error screen is displayed, and the session is aborted.) The customer is asked to enter his/her PIN, and is then allowed to perform one or more transactions, choosing from a menu of possible types of transaction in each case. After each transaction, the customer is asked whether he/she would like to perform another. When the customer is through performing transactions, the card is ejected from the machine and the session ends. If a transaction is aborted due to too many invalid PIN entries, the session is also aborted, with the card being retained in the machine. - Transaction Use Case Note: the session use case includes transaction use case. A transaction use case is started within a session when the customer chooses a transaction type from a menu of options. The customer will be asked to furnish appropriate details (e.g. account(s) involved. amount). The transaction will then be sent to the bank, along with information from the customer's card and the PIN the customer entered. If the bank approves the transaction, any steps needed to complete the transaction (e.g. dispensing cash or accepting an envelope) will be performed, and then a receipt will be printed. Then the customer will be asked whether he/she wishes to do another transaction.
Following use cases are used by transaction use case: - Transfer Transaction Use Case - Deposit Transaction Use Case - Invalid PIN Extension
Example of Sequence Diagram