Use case: Transfer Money Precondition: This use case assumes that the customer has logged into the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Use case: Transfer Money Precondition: This use case assumes that the customer has logged into the ATM. Actor: ATM Customer 1) TUCBW customer presses the Transfer button on the Transaction Selection screen. 3) Customer enters the bank account number, amount to transfer, and presses the Submit button. 5) TUCEW customer sees the confirmation message and presses the OK button on it. System: ATM 0) ATM displays the Transaction Selection screen. 2) ATM asks the customer to enter the bank account and the amount to be transferred. 4) ATM displays a confirmation that the amount has been transferred to the bank account. As per pre-condition, you need not worry about logging in process. Checking validity of an account number belonging to another bank is not instantaneous - so, usually, ATMs do not allow for inter-bank transfers. Hence, you can assume for this use case, the ATM Customer can transfer money into any account in the same bank. The use case assumes the ATM Customer is logged into their account; so the source account number is known. The destination account number is being entered by the ATM Customer in step #3. For the above user case: do the following: 1. Identify the input values, their type, value specification, valid/invalid/exceptional values (Similar to fig 20.13 pg 520 in the book) 2. How many test-cases or scenarios can be written? What would the corresponding output be? (use fig 20.14 pg 521 in the Kung book or slide #7 in test_case_register_for_events); narrow down the testcases (if need be). 3. Give concrete values for the narrowed down cases (use fig 20.15 in the Kung book or slide #8 in test_case_register_for_events) 4. Implement the concrete test cases use JUnit or similar tools for this - take a look at the file JUnit_how_to - Implementation language and it's environment is up to you. 5. Implement the ATM also without this we cannot run the testcases. It goes without saying; including it here to avoid confusion. Use case: Transfer Money Precondition: This use case assumes that the customer has logged into the ATM. Actor: ATM Customer 1) TUCBW customer presses the Transfer button on the Transaction Selection screen. 3) Customer enters the bank account number, amount to transfer, and presses the Submit button. 5) TUCEW customer sees the confirmation message and presses the OK button on it. System: ATM 0) ATM displays the Transaction Selection screen. 2) ATM asks the customer to enter the bank account and the amount to be transferred. 4) ATM displays a confirmation that the amount has been transferred to the bank account. As per pre-condition, you need not worry about logging in process. Checking validity of an account number belonging to another bank is not instantaneous - so, usually, ATMs do not allow for inter-bank transfers. Hence, you can assume for this use case, the ATM Customer can transfer money into any account in the same bank. The use case assumes the ATM Customer is logged into their account; so the source account number is known. The destination account number is being entered by the ATM Customer in step #3. For the above user case: do the following: 1. Identify the input values, their type, value specification, valid/invalid/exceptional values (Similar to fig 20.13 pg 520 in the book) 2. How many test-cases or scenarios can be written? What would the corresponding output be? (use fig 20.14 pg 521 in the Kung book or slide #7 in test_case_register_for_events); narrow down the testcases (if need be). 3. Give concrete values for the narrowed down cases (use fig 20.15 in the Kung book or slide #8 in test_case_register_for_events) 4. Implement the concrete test cases use JUnit or similar tools for this - take a look at the file JUnit_how_to - Implementation language and it's environment is up to you. 5. Implement the ATM also without this we cannot run the testcases. It goes without saying; including it here to avoid confusion.
Expert Answer:
Answer rating: 100% (QA)
1 Input Values a Bank Account Number Type String Valid Values A valid bank account number belonging to the same bank as the ATM InvalidExceptional Val... View the full answer
Related Book For
Smith and Roberson Business Law
ISBN: 978-0538473637
15th Edition
Authors: Richard A. Mann, Barry S. Roberts
Posted Date:
Students also viewed these programming questions
-
BMX Company has one employee. FICA Social Security taxes are 6.2% of the first $137,700 paid to its employee, and FICA Medicare taxes are 1.45% of gross pay. For BMX, its FUTA taxes are 0.6% and SUTA...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Case D: Lily Grocers, Inc. (Customer Order and Delivery) Lily Grocers is an online grocery service that provides home delivery of groceries purchased via the Internet. Lily operates in the greater...
-
Though the McDonalds (MCD) menu of hamburgers, cheeseburgers, the Big Mac, Quarter Pounder, Filet-O-Fish, and Chicken McNuggets is easily recognized, McDonalds financial statements may not be as...
-
Define jacketing.
-
Bronze is an alloy made of copper (Cu) and tin (Sn). Calculate the mass of a bronze cylinder of radius 6.44 cm and length 44.37 cm. The composition of the bronze is 79.42 percent Cu and 20.58 percent...
-
The coast-down data recorded below were taken with the motor operating at 892 rpm and the pump operating at 862 rpm via an eddycurrent drive, and the peak average was continued until the pump reached...
-
Avanti manufactures embroidered jackets. The company prepares flexible budgets and uses a standard cost system to control manufacturing costs. The following standard unit cost of a jacket is based on...
-
In this assignment, you have a 1-day classroom experience in which you need to help a group of engineers and software programmers learn to become project managers. After training, they will have to...
-
When coal is burned to form synthesis gas (syngas), which contains mostly CO, H 2 , H 2 S, and CO 2 , the H 2 S must be removed. The gas is called syngas because H 2 and CO are the building blocks...
-
II. Mr. I.M Farmer has been producing 500 acres of irrigated cotton in the Texas High Plains. He is very concerned about increasing fuel costs because he uses a lot of fuel to pump irrigation water....
-
Suppose the US is on a gold standard and the UK is on a silver standard. Is that more like a fixed exchange rate between the US dollar and the British pound, or more like a floating exchange rate?...
-
Simplify 3(4x+2x) +2(5x+x) Enter your answer, using the menu on the left as needed. 3(4x + 2x) + 2(5x +x) =
-
Would the graph of a velocity vs. time graphs of the cart on an inclined ramp change depending on which side the motion sensor is on, and if so what would it look like? The cart is gently pushed from...
-
Discuss how to measure the effectiveness of improvement actions and sustain the gains ? Explain.
-
Is Positive Psychology used in therapy a better form of therapy then clinical psychology?
-
Suppose that beer (x) is $2 a pint, and pizza (y) is $6 a slice. A student has $60 to spend on a Friday night. Write down the equation of the budget line Y= Graph the Budget line O No Solution Help...
-
Should we separate the debt and equity features of convertible debt? Team 1: Pro separation: Present arguments in favor of separating the debt and equity features of convertible debt. Team 2: Against...
-
L. G. and S. L. Patel, husband and wife, owned and operated the City Center Motel in Eureka. On April 16, Rajeshkumar, the son of L. G. and S. L., formed a partnership with his parents and became...
-
Ronald Robinson, Wyman Robinson, and Friendly Discount Auto Sales (appellants) appeal from the granting of summary judgment in favor of appellee Mike Durham (Durham). The facts material to this...
-
Define the various types of equitable relief and discuss when the courts will grant such relief.
-
Where does the management accounting function fit into an organizations structure?
-
What are the ethical responsibilities of management accountants?
-
Diana Corporation provides the following information for 2017: Calculate (a) Cost of goods manufactured in 2017 and (b) Cost of goods sold in 2017 Beginning work-in-process inventory, 1/1/2017 Total...
Study smarter with the SolutionInn App