Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

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.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91416196
  • Price:- $40

Priced at Now at $40, Verified Solution

Have any Question?


Related Questions in Computer Engineering

Take a position on whether user interfaces for work will

Take a position on whether user interfaces for work will remain isolated or become more collaborative. Present evidence, based on the different categories of social media, to support your argument. Include at least two r ...

Question suppose a data packet datagram is sent in the

Question : Suppose a data packet (datagram) is sent in the Internet from a source station (computer) to a destination station. What type of addess (physical, MAC, port address or some other) is used to forward the datagr ...

A mixture of 499 mol of n2 and 3090 g of no is heated in a

A mixture of 4.99 mol of N2 and 30.90 g of NO is heated in a closed vessel to 2000 °C. After heating, the total pressure of the mixture at equilibrium is 3.14 atm. N2(g) + O2(g) 2NO(g) Kp= .101 at 2000 C In which directi ...

A summary of business activities of a course registration

A summary of business activities of a "Course Registration System" for enrolling courses for students and for enrolled class lists for faculty members at an online university is as follows: The Physics Department provide ...

Question suppose that an application has m input variables

Question : Suppose that an application has M input variables and that each variable partitions the input space into N equivalence classes. The multidimensional partitioning approach will divide the input domain into how ...

My kids love playing uno and we just finished up an intense

My kids love playing UNO and we just finished up an intense round. Lets say that the deck has 80 cards. 20 red, 20 blue, 20 green and 20 yellow.  What is the probability of pulling 3 green cards if the first 2 are replac ...

Reconstructing binary trees via traversalsrecall the binary

Reconstructing Binary Trees Via Traversals Recall the binary tree data structure; recall three algorithms for traversing the tree: the inorder traversal, the preorder traversal, and the postorder traversal. 1. Suppose yo ...

Give a recursive algorithm that generates a similar series

Give a recursive algorithm that generates a similar series of coins for changing n cents. Don't use dynamic programming for this problem.

Question 1two variables have a negative non-linear

Question 1 Two variables have a negative non-linear correlation. Does the dependent variable increase or decrease as the independent variable increases? A)Dependent variable would remain the same B)Dependent variable inc ...

1 write a critique review of the following paper2 your

1. Write a critique / review of the following paper. 2. Your critique should be as objective as possible: highlight what you consider to be its strongest and weakest aspects. Are themes discernible that would help one to ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As