TIMING DIAGRAM
WHAT IS TIMING DIAGRAM?
• A timing diagram includes timing data for at least one horizontal
lifeline, with vertical messages exchanged between states.
States
Lifeline
EXAMPLE OF AN TIMING DIAGRAM
PROCESS FOR CREATING THE TIMING
DIAGRAM
MAKING TIMING DIAGRAMS:
FIND THE STATES
1. Customer Inserts Card
1.a. Card is Invalid
1.b. Eject Card
2. Card is Valid
3. Customer Enters Pin
3.a. Pin is Invalid
4. Pin is Validated
5. Account is selected
6. Amount is Selected
7. Provide Funds
8. Provide Receipt
9. Eject Card
MAKING TIMING DIAGRAMS:
FIND THE PARTICIPANTS
1. CUSTOMER
2. CARD READER
3. BANK SYSTEM
MAKING TIMING DIAGRAMS:
MATCH STATES TO PARTICIPANTS
1. Customer
- Card in Hand
- Insert Card
- Enter Pin
- Select Account
- Select Amount
MAKING TIMING DIAGRAMS:
MATCH STATES TO PARTICIPANTS
2. Card Reader
- No Card
- Receive Card
- Card Valid
- Card Invalid
- Invalid Amount
- Eject Money
- Eject Receipt
- Eject Card
MAKING TIMING DIAGRAMS:
MATCH STATES TO PARTICIPANTS
3. Bank System
- No Card
- Valid Pin
- Invalid Pin
- Account Valid
- Amount Valid
- Amount Invalid
- Account Invalid
THANK YOU

Timing Diagram.pptx

  • 1.
  • 2.
    WHAT IS TIMINGDIAGRAM? • A timing diagram includes timing data for at least one horizontal lifeline, with vertical messages exchanged between states. States Lifeline
  • 3.
    EXAMPLE OF ANTIMING DIAGRAM
  • 5.
    PROCESS FOR CREATINGTHE TIMING DIAGRAM
  • 6.
    MAKING TIMING DIAGRAMS: FINDTHE STATES 1. Customer Inserts Card 1.a. Card is Invalid 1.b. Eject Card 2. Card is Valid 3. Customer Enters Pin 3.a. Pin is Invalid 4. Pin is Validated 5. Account is selected 6. Amount is Selected 7. Provide Funds 8. Provide Receipt 9. Eject Card
  • 7.
    MAKING TIMING DIAGRAMS: FINDTHE PARTICIPANTS 1. CUSTOMER 2. CARD READER 3. BANK SYSTEM
  • 8.
    MAKING TIMING DIAGRAMS: MATCHSTATES TO PARTICIPANTS 1. Customer - Card in Hand - Insert Card - Enter Pin - Select Account - Select Amount
  • 9.
    MAKING TIMING DIAGRAMS: MATCHSTATES TO PARTICIPANTS 2. Card Reader - No Card - Receive Card - Card Valid - Card Invalid - Invalid Amount - Eject Money - Eject Receipt - Eject Card
  • 10.
    MAKING TIMING DIAGRAMS: MATCHSTATES TO PARTICIPANTS 3. Bank System - No Card - Valid Pin - Invalid Pin - Account Valid - Amount Valid - Amount Invalid - Account Invalid
  • 14.