0% found this document useful (0 votes)
35 views3 pages

ATM System State Chart Diagram

Uploaded by

riamadan7010
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views3 pages

ATM System State Chart Diagram

Uploaded by

riamadan7010
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

EXPERIMENT:5

NAME OF EXPERIMENT: State chart diagram for ATM System.

AIM: To design and implement State chart diagram for ATM System.

SOFTWARE USED:- STAR UML

THEORY: A Statechart diagram shows a state machine, emphazing the flow of control
from state to state .A state machine is a behavior that specifies the sequences of states
an object goes through during its life time in response to events together with responses
to those events. We can use these diagrams to model the dynamic view of a system. .

Statechart diagrams are also used for forward and reverse engineering of a system. But
the main purpose is to model reactive system.

Following are the main purposes of using Statechart diagrams:


1. To model dynamic aspect of a system.
2. To model life time of a reactive system.
3. To describe different states of an object during its life time.
Define a state machine to model states of an object.

Following is the explanation of state chart digram of the atm

 Reading Card:Represents the initial state when the user inserts their card into the
[Link] to the "Card Read Successful" state upon successful reading of the
card.
 Card Read Successful:Indicates that the ATM has successfully read the
[Link] to the "Reading PIN" state.
 Reading PIN:Represents the state where the ATM prompts the user to enter their
[Link] to the "PIN Read Successful" state upon successful entry of the PIN
 PIN Read Successful:Indicates that the ATM has successfully read the entered
[Link] to the "Choosing Transaction" state.
 Choosing Transaction:Represents the state where the user selects the desired
transaction (e.g., withdrawal, balance inquiry).Transitions to the "Performing
Transaction" state upon choosing a transaction.
 Performing Transaction:Represents the state where the selected transaction is being
[Link] sub-states for specific [Link] to the
"Transaction Success" or "Transaction Failure" state based on the outcome.
 Transaction Success:Indicates the successful completion of the chosen
[Link] to the "Customer Finished" state or allows the user to choose
another transaction.
 Transaction Failure:Indicates that the chosen transaction has [Link] an
appropriate error message and prompts the user to take corrective [Link]
to the "Choosing Transaction" state.
 Customer Finished:Represents the state where the customer has completed their
[Link] to the "Ejecting Card" state.
 Ejecting Card:Represents the state where the ATM prompts the user to take their
[Link] to the "Reading Card" state once the card is successfully ejected.

ALGORITHM/FLOWCHART/PSEUDOCODE
Made by: Ria
102299002

RESULT
Hence the state chart digram for the ATM System is implemented

You might also like