Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Management With Website Development Applications

Authors: Greg Riccardi

1st Edition

0201743876, 978-0201743876

More Books

Students also viewed these Databases questions