Operations of an atm machine

Assignment Help Computer Network Security
Reference no: EM13728024

Simulate the operations of an ATM machine. First, the customer is prompted to enter his personal identification number pin (for this case study, we test only if this pin is formed by 4 digits, otherwise a message like "Invalid PIN, try again..." will be displayed) and the user is re-prompted to enter the pin. The customer is given three chances to enter his pin. If he/she fails during the three trials you display a message like "Sorry you can't continue, contact your bank for assistance."

If the pin is correct (formed by 4 digits), then the system will ask the customer for the receipt (1 for YES and 2 for NO) and a menu will be displayed containing five possible options to choose from: Fast Cash, Deposit, Withdraw, Balance, and Get Card Back. 

Here is an explanation of each of the 5 options:

Get card back: Display the message "Goodbye!" and exit program.

Fast Cash: Let the customer choose the amount of cash from a menu similar to the following:

Press 1--> $20.00      $40.00 <--2

          3--> $80.00      $100.00 <--4

Withdraw: Prompt the user for the amount of money he/she would like to withdraw and make sure that he/she has enough money for that.

Deposit: Promt the customer for the amount of deposit.

Balance: Just display the amount of money the customer has.

Don't forget to print the receipt if the customer wants one.

Sample execution: (text in brackets represents the user entry)

Virtual Bank at West

WELCOME

Enter PIN: [245]

Invalid PIN, Re-enter PIN: [5487]

 -clear screen-

Receipt Y -> Yes     No <- N

Enter choice: [N]

-clear screen-

CHOOSE FROM THE FOLLOWING

1-> Fast Cash    Withdraw <-2

3-> Deposit    Check balance <-4

5-> Get card back

Enter your choice: [4]

-clear screen-

Your balance is: $125.32

1-> Another Transaction     Get Card Back <-2

Enter your choice: [1]

-clear screen-

CHOOSE FROM THE FOLLOWING

1-> Fast Cash     Withdraw <-2

3-> Deposit          Check Balance <-4

5-> Get card back

Enter your choice: [2]

-clear screen-

Enter amount (enter 0 to cancel): [300.00]

Sorry, not enough balance

Enter amount (enter 0 to cancel): [30.00]

Take your cash...

-clear screen-

Your balance is: $124.32

1-> Another transaction     Get card back <-2

Enter your choice: [1]

-clear screen-

CHOOSE FROM THE FOLLOWING

1-> Fast Cash     Withdraw <-2

3-> Deposit          Check Balance <-4

5-> Get card back

Enter your choice: [8]

Invalid entry

-clear screen-

CHOOSE FROM THE FOLLOWING

1-> Fast Cash     Withdraw <-2

3-> Deposit          Check Balance <-4

5-> Get card back

Enter your choice: [5]

-clear screen-

Reference no: EM13728024

Questions Cloud

Security measures you would recommend to ssk software : Explain all Security measures you would recommend to SSK Software.
What four fundamental factors affect the cost of money : Many major corporations, including Apple and Hewlett-Packard, began life in a range or basement. How is it possible for such companies to grow into giants we see today? No two companies develop in exactly the same way, but the following sections d..
Influencing artistic and cultural development : An assessment of whether the individual's contributions are likely to continue influencing artistic and cultural development
Marketing plan-product description : Marketing plan Product description, IDEA: For my marketing plan I will choose a Unisex Beauty Salon. I want to call it NOVVA Hair Stylish
Operations of an atm machine : Simulate the operations of an ATM machine. First, the customer is prompted to enter his personal identification number pin (for this case study, we test only if this pin is formed by 4 digits, otherwise a message like "Invalid PIN, try again..." w..
Elements of an organization motivation plan : Identify significant elements of an organization motivation plan that encourage high job satisfaction, high productivity, high quality work, and low turnover (i.e., job flexibility, training, recognition).
Identify and analyze the major driving forces for change : Identify and analyze the major driving forces for change in the external environment of the motorcycle industry. Analyze the dynamics of competition using Porter's Five Forces Model of Competition. Correctly assess the dynamics of competition.
Write a article based on recent event on ethical issues : Locate a news article based on a recent event on ethical issues related to information technology. For example, Wikileaks, Snowden, etc...Summarize your findings of the event/issue in the article in a memo of 350-700 words
Assignment on cloud computing : Summarize a paper on cloud computing.

Reviews

Write a Review

Computer Network Security Questions & Answers

  Consider the information stored on your personal computer

information security1. look up the paper that started the study of computer security. prepare a summary of the

  Basic system administration and security management

Network security training for all staff is required by the center's liability insurance policy. As specified by our insurance carrier, Universal Pro Inc.

  Define a secure system in the blp model

How would you define a secure system in the BLP model - A Security Policy is a statement that partitions the states of the system into a set of authorized, or secure, states and a set of unauthorized, or non-secure, states.

  Describe the security features available on a platform

Describe the security features available on a platform of your choice (for example, Linux/Android/Mac OS X/Windows/Apache/Java/Perl), to mitigate a specific type of attack (for example, adware/malware/SQL injection/spoofing/tampering).

  Encrypt the plaintext by using vigenere cipher

Encrypt the following Plaintext using Vigenere cipher: Plaintext: stocks market is falling Key : one. Is Vigenere cipher monoalphabetic or polyalphabetic? Why?

  Describe how bob can recover the message

Describe how Bob can recover the message - Through how many ciphertext blocks is this error propagated? What is the effect at the receiver?

  Describe routing attacks

Briefly describe what routing attacks are. Provide two examples, highlighting their main characteristics. Can you explain what are routing attacks and show the main characteristics of this attacks.

  Explain the three general sources of security threats and

explain the three general sources of security threats and five types of security losses. your response should be at

  Encrypt plaintext using vigenere cipher

Another variation of Additive cipher uses a keyword instead of a single key. This cipher is called Vigenere cipher. Both variations work exactly the same.

  Computer forensics investigation

After a computer forensics investigation, you require to meet with your section or group of fellow investigators and critique the case in an effort to improve your work.

  Demonstrate that hash value collides with original value

Show a message that Alice may have spoofed, and demonstrate that its hash value collides with Bob's original hash.

  Computing decryption function and recovered plaintext

Decrypt to recover the plaintext. What is the decryption function, and the recovered plaintext? What type of cipher is this?

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