Design a State Transition Diagram for the following ATM scenario. When the customer inserts the bank or credit card in the ATM’s card reader, the entry action i.e. read card is performed by the ATM. If the card is not valid then the machine will perform exit action. After the card is being read successfully, the ATM will ask for Pin. Then the customer enters the pin and ATM then reads the pin. If the pin entered is not valid then the machine will perform exit action. If the pin entered is valid, then the machine further processes towards the transaction. After a successful transaction, the machine undergoes the exit action i.e., eject card that discharges the customer’s card.
Design a State Transition Diagram for the following ATM scenario.
When the customer inserts the bank or credit card in the ATM’s card reader, the entry action i.e. read card is performed by the ATM. If the card is not valid then the machine will perform exit action. After the card is being read successfully, the ATM will ask for Pin. Then the customer enters the pin and ATM then reads the pin. If the pin entered is not valid then the machine will perform exit action. If the pin entered is valid, then the machine further processes towards the transaction. After a successful transaction, the machine undergoes the exit action i.e., eject card that discharges the customer’s card.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images