ACTIVITY DIAGRAM FOR ATM
ACTIVITY DIAGRAM FOR ATM
ATM Activity Diagram
What is an Activity Diagram in ATM?
An Activity Diagram for an ATM (Automated Teller Machine) is a UML diagram that shows the step-by-step flow of activities performed by a customer and the ATM during a transaction.
•It explains what happens from inserting the ATM card until the transaction is completed.
Structure:
Start
↓
Insert ATM Card
↓
Validate Card
↓
Enter PIN
↓
Validate PIN
↓
◇ Is PIN correct?
No → Retry / Exit
Yes → Continue
↓
Display ATM Menu
↓
Select Transaction
↓
Enter Transaction Details
↓
◇ Sufficient Balance?
No → Display "Insufficient Balance"
Yes → Process Transaction
↓
Dispense Cash / Complete Transaction
↓
Update Account
↓
Print/Display Receipt
↓
Eject Card
↓
End
Main purpose:
The ATM activity diagram helps to understand:
•The sequence of ATM ope rations
•Customer and ATM activities
•Decision points such as PIN validation and balance checking
•Different transaction paths
•The complete start-to-end workflow of an
ATM.
Conclusion – ATM Activity Diagram:
•The ATM Activity Diagram clearly represents the complete flow of an ATM transaction from card insertion to transaction completion. It shows important activities such as PIN verification, transaction selection, balance checking, cash withdrawal, receipt generation, and card ejection.
•It also represents decision points and different possible outcomes. Therefore, the activity diagram helps developers and users understand the ATM system workflow easily and identify the sequence of operations clearly.
KARTHIKEYAN.S(24USC011)
VENKATESAN.P(24USC030)
Comments
Post a Comment