Popular Posts

Sunday, October 10, 2010

ATM Flowchart

One of the basic step before coding is creating the flowchart. A flowchart is a type of diagram, that represents an algorithm or process, showing the steps as boxes of various kinds, and their order by connecting these with arrows. A flowchart will give you a step-by-step solution to a given problem. So lets consider an ATM transaction today.

Scenario: The customer goes to a ATM machine and insert his ATM/Debit, enters his pin number, do his transaction, which can be withdrawal, deposit or just a simple balance check query, get his card back and left.

ATM’s Perspective: ATM/Debit card is inserted, the ATM validates the validity of the account associated and pin with the card, once the account is validated the ATM receives the account information, and then processes the customer’s request, if that’s valid again. At the end if there is no more requests coming from customer, returns the card.

Lets put these word in a Flowchart now as we have already analyzed the whole scenario:

ATMFlowChart

Any comments or suggestions are most welcome.