Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Let us consider the behaviour specification of a simple state-chart for an Automated Transfer Machine (ATM) for banking transactions. It has a slot to hold

Let us consider the behaviour specification of a simple state-chart for an Automated Transfer Machine (ATM) for banking transactions. It has a slot to hold the bank card for reading and writing and a slot for withdrawing money. Also, it has an interface with a screen to display messages (e.g., options, validation), ten buttons representing the digits for keying the Personal Identification Number (PIN), and three more buttons for clear, cancel, and enter. For simplicity, we shall consider only the validation of the traditional service of an ATM, namely inserting card, PIN, and their validation. A partial state-chart for specifying the IDLE and a composite validation state is shown below. Continue this state-chart by specifying a transaction of money withdraw for the case when Validating card & PIN is valid.

image text in transcribed

Validatian igit tting PDS EtaE aturn card) -Inat vali4] Validating Eject card

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

More Books

Students also viewed these Databases questions