Sequence Diagram For Atm Machine

broken image


This example of bank ATM UML activity diagram was created on the base of UML use case diagram of automated teller machine from the course 'Thinking in Java, 2nd edition, Revision 9' by Bruce Eckel published on the website of the Computer Science and Electrical Engineering Department of the University of Maryland, Baltimore (UMBC).
'If you are designing an auto-teller, for example, the use case for a particular aspect of the functionality of the system is able to describe what the auto-teller does in every possible situation. Each of these 'situations' is referred to as a scenario, and a use case can be considered a collection of scenarios. You can think of a scenario as a question that starts with: 'What does the system do if...?' For example, 'What does the auto-teller do if a customer has just deposited a check within the last 24 hours, and there's not enough in the account without the check having cleared to provide a desired withdrawal?'
Use case diagrams are intentionally simple to prevent you from getting bogged down in system implementation details prematurely...
Each stick person represents an 'actor,' which is typically a human or some other kind of free agent. (These can even be other computer systems, as is the case with 'ATM.') The box represents the boundary of your system. The ellipses represent the use cases, which are descriptions of valuable work that can be performed with the system. The lines between the actors and the use cases represent the interactions.
It doesn't matter how the system is actually implemented, as long as it looks like this to the user.'
[csee.umbc.edu/ courses/ 331/ resources/ tij/ text/ TIJ213.gif]
This automated teller machine (ATM) UML use case diagram example was created using the ConceptDraw PRO diagramming and vector drawing software extended with the ATM UML Diagrams solution from the Software Development area of ConceptDraw Solution Park.
Atm
Sequence Diagram For Atm Machine
Sequence Diagram For Atm Machine

Sequence Diagram For Atm Machine

Based on your experience with a bank ATM, draw an activity diagram that models the data processing involved when a customer withdraws cash from the machine. Draw a sequence diagram for the same system. Explain why you might want to develop both activity and sequence diagrams when modeling the behavior of a system. ATM-FR-4 A menu is displayed to the user with following options: Withdraw, Deposit, Pay bill, Account update and Exit. ATM-FR-5 The cash Dispenser has the ability to dispense cash. ATM-FR-6 A transaction record can be printed upon demand. ATM-FR-7 The card is ejected when the session is completed.





broken image