Explain Transition Diagram

  • A stylized flowchart is called transition diagram
  • Positions in a transition diagram are drawn as a circle and are called states
  • States are connected by arrows called edges
  • Edge leaving state have label indicating the input character

The transition diagram for unsigned number is given below 

Transition diagram for the token relop is shown below


Leave a Reply