7. State Transition Diagrams (cont)
A State Transition Diagram is used to identify each state and the transitions between them.
The states have names and a number to uniquely identify them and the transitions are shown as a line and arrow to show the direction of change. Each transition is also numbered and labelled.
The diagrams on the following pages show the three systems discussed earlier.
Traffic light state transition diagram
The states identified were:
- red
- red / amber
- green
- amber
challenge see if you can find out one extra fact on this topic that we haven't already told you
Click on this link: Drawing State transition diagrams