Lesson 20
Lesson 20
a q1/0
q0/1
b a
a
b
q2/0 q3/1 a
b
Example continued … b
a q1/0
q0/1
b a
a
b
q2/0 q3/1 a
b
It is to be noted that the states are labeled
along with the characters to be printed.
Running the string abbabbba over the above
machine, the corresponding output string
will be 100010101, which can be
determined by the following table as well
Example continued …
Input a b b a b b b a
State q0 q1 q1 q1 q3 q2 q3 q2 q0
output 1 0 0 0 1 0 1 0 1