Software model of an atm machine

Assignment Help Basic Computer Science
Reference no: EM13846407

Consider a software model of an ATM machine that supports the following use cases:

Use Case 1:

1. User swipes his/her debit card, which provides the system with the user's bank account number.

2. User is asked to provide his/her pin number.

3. User is asked whether he/she wishes to check his balance or withdraw money.

4. User selects to withdraw money.

5. System displays the amount withdrawn and the remaining balance.

6. User is asked whether he/she would like to conduct another transaction.

Use Case 2:

1. User swipes his/her debit card, which provides the system with the user's bank account number.

2. User is asked to provide his/her pin number.

3. User is asked whether he/she wishes to check his balance or withdraw money.

4. User selects to withdraw money.

5. System displays error message that the amount to be withdrawn exceeds the balance.

6. User is asked whether he/she would like to conduct another transaction.

Use Case 3:

1. User swipes his/her debit card, which provides the system with the user's bank account number.

2. User is asked to provide his/her pin number.

3. User is asked whether he/she wishes to check his balance or withdraw money.

4. User selects to check balance.

5. System displays the user's account balance.

6. User is asked whether he/she would like to conduct another transaction.

Use Case 4:

1. User swipes his/her debit card, which provides the system with the user's bank account number.

2. User is asked to provide his/her pin number.

3. System displays that pin number is incorrect.

4. User is asked to provide his/her pin number up to two more times.

5. System terminates after third failed attempt.

Problem 1: Identify at least three classes that may be required in an object oriented design that supports the above use cases. Generate a CRC card for each class indicating its responsibilities and collaborators. Hint: One of your classes should be BankAccount.

Problem 2: Generate a UML class diagram showing the classes and any relationships between them. Be sure to include a list of the attributes and methods of each class in the diagram.

Problem 3: Implement your design in Java. You should have a separate source file for each class as well as a tester class for demoing the functionality of your design.

Reference no: EM13846407

Questions Cloud

Problem regarding the binary calculations : Do the following binary calculations.
What amount of new investment income : Crappola Hospital outside of Outback, UT has been thinking about changing its’ payroll period from a bi weekly to a monthly. The administrator, Baskitcase says they currently have 600 employees with an annual payroll of $18 million. what amount of ne..
Compare your various absorption spectra : Compare your various absorption spectra and explain what they mean. Compare your absorption spectra to each other and to those provided by the instructor. What differences among the spectra do you see. Explain the similarities and differences in d..
Annual increase in selling price : Assume that in January 2013, the average house price in a particular area was $278,400. In January 2000, the average price was $195,300. What was the annual increase in selling price?
Software model of an atm machine : Consider a software model of an ATM machine that supports the following use cases:
Accounting statement of cash flows : You are researching time manufacturing and have found the following accounting statement of cash flows for the most recent year. You also know that the company paid $98.3 million in current taxes and had an interest expense of $48.3 million.
Describe the conquest of native americans by white europeans : Describe the conquest of native Americans by white Europeans
How long and at which setting it took to melt it : Put about 1/4 teaspoon of salt by itself in the tin can and set over the burner, and assure that you have good ventilation
What is its dividend growth rate : If the price of Hanbags Inc. stock is $43, its required return is 20% and the last dividend paid was $3, what is its dividend growth rate?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd