Assignment 2: Use Cases

profileanelyiapenctheva
docx1.docx

Week 6 Assignment 2 Uses Cases:

Leah Hodge

Professor: Bindu George

CIS 210: Systems Analysis and Development

May 15, 2017

As an intern software developer for a retail bank, you have been tasked with developing use cases to support the ATM service. Some of the preconditions that already in us are listed below.

(1) There is an active network connection to the Bank.

(2) The ATM has cash available.

In this use case the basic flow of events consists of the following:

(1) The use case begins when bank customer inserts their bank card;

(2) Use Case: Validate User is performed;

(3) The ATM displays the different alternatives that are available on this unit.

In this case the Bank Customer always selects “Withdraw Cash”

(4) The ATM prompts for an account;

(5) The bank customer selects an account;

(6) The ATM prompts for an amount:

(7) The bank customer enters an amount;

(8) Card id, pin, amount and account is sent to Bank as a transaction.

The Bank replies with a go/no go reply telling if the transaction is ok;

(9) Then money is dispensed;

(10) The bank card is returned.

(11) The receipt is printed; and finally.

(12) The use case ends successfully.

Some alternative flows that might happen are:

(1) Invalid user- if in step 2 of the basic flow bank customer the use case: validate user does not complete successfully, then the use case ends with a failure.

(2) Wrong account- if in step 8 of the basic flow the account selected by the Customer is not associated with this bank card, then the ATM shall display the message “Invalid Account – please try again” or the use case resumes at step 4.

(3) Wrong amount-if in step 7 in the basic flow, the Customer enters an amount that can't be 'created' with the kind of in the ATM, then the ATM shall display a message indicating that the amount must be a multiple of the bills on hand, and ask the customer to reenter the amount, then the use case resumes at step 7.

(4) Amount exceeds withdrawal limit- if in step 7 in the basic flow, the customer enters an amount that exceeds the withdrawal limit, then the ATM shall display a warning message, and ask the customer to reenter the amount, then the use case resumes at step 7.

(5) Amount Exceeds Daily Withdrawal Limit- if in step 8 in the basic flow, the Bank response indicates the daily withdrawal limit has been exceeded (this is determined by the Bank and depends upon the specific account), then the ATM shall display a warning message, and ask the Customer to reenter the amount.

(6) Insufficient Cash- if in step 7 in the basic flow, the Customer enters an amount that exceeds the amount of cash available in the ATM, then the ATM will display a warning message, and ask the Customer to reenter the amount.

A successful approval is when a customer receives their cash and the internal logs have been refreshed. A deposit is started from within a session when the customer chooses deposit from the menu of possible transaction types. The customer chooses a type of account to deposit to (e.g. checking) from a menu of possible accounts, and then chooses a dollar amount by typing it on the keyboard. The system sends the customer's card number, PIN, chosen account and amount to the bank, which either approves or denies the transaction. If the transaction is approved, the machine accepts the cash and/or checks and then issues a receipt. The bank is notified when the transaction is completed in its entirety by the machine.

A transfer exchange is started from within a session when the customer chooses a type of account to transfer from (e.g. checking) from a menu of possible accounts, chooses a different account to transfer to, and then chooses a dollar amount by typing it on the keyboard. The system sends the customer's card number, PIN, chosen account and amounts to the bank, which either approves or disapproves the transaction. If the transaction is approved, the machine issues a receipt. If the transaction is disapproved due to an incorrect PIN, the incorrect PIN extension is executed. The bank considers the transaction finished on approval.

One moral issue that the use case uncovered with the utilization of the ATM system is that occasionally the system can be full of mistakes. Most customers like the way they don't need to remain in long line just to pull out cash.