Question
Draw Activity diagram for the description below that explains the process of Automated Teller Machine (ATM) top level state machine. ATM is initially turned off.
Draw Activity diagram for the description below that explains the process of Automated Teller Machine (ATM) top level state machine. ATM is initially turned off. After the power is turned on, ATM performs startup action and enters Self Test state. If the test fails, ATM goes into Out of Service state, otherwise there is trigger-less transition to the Idle state. In this state ATM waits for customer interaction. The ATM state changes from Idle to Serving Customer when the customer inserts banking or credit card in the ATM's card reader. On entering the Serving Customer state, the entry action read Card is performed. Note, that transition from Serving Customer state back to the Idle state could be triggered by cancel event as the customer could cancel transaction at any time. Serving Customer state is a composite state with sequential sub-states Customer-Authentication, Selecting-Transaction and Transaction. Customer Authentication and Transaction are composite states by themselves. Serving Customer state has trigger-less transition back to the Idle state after transaction is finished. The state also has exit action eject Card which releases customer's card on leaving the state, no matter what caused the transition out of the state. If the transaction if of cash withdrawal the cash tray is ejected out with money and the current balance receipt is drawn at last.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started