Design and describe an application-level protocol to be used between an automatic teller machine (ATM) and bank centralized computer. Your protocol should allow a user’s card and password to be verified, the account balance (which is maintained at the centralized computer) to be queried, and account withdrawal to be made (that is, money disbursed to the user). Your protocol entities should be able handle the all-too-common case in which there is no enough money in the account to cover the withdrawal. Specify your protocol by listing the messages exchanged and the action taken by the ATM or the bank’s centralized computer on transmission and receipt of messages. Sketch the operation of your protocol for the case of a simple withdrawal with no errors, using a diagram similar to that in Figure 1.2 of the textbook.
Design and describe an application-level protocol to be used between an automatic teller machine (ATM) and...
Q**Draw a State Transition Diagram for an Automatic Teller Machine (ATM). Your diagram should be able to deal with: Card inserted, reading card, enter PIN, waiting for PIN, Bank Checks PIN, Wait for Authorisation from Bank, Display Accounts, Select Account, Display limits, Wait for Selection, Limit Exceeded, Print Receipt and Dispense Cash. Q**Explain the concept of information hiding
Write a program called problem4.cpp to implement an automatic teller machine (ATM) following the BankAccount class the we implemented in class. Your main program should initialize a list of accounts with the following values and store them in an array Account 101 → balance = 100, interest = 10% Account 201 → balance = 50, interest = 20% Account 108 → balance = 200, interest = 11% Account 302 → balance = 10, interest = 5% Account 204 → balance...