Mahnoor Naseem
Mahnoor Naseem
Mahnoor Naseem
BC200409543
Questions No 01=
Moore machine having 6 tuples {Q, q0, ∑, O, δ, λ} are explained below where:
Next State
Present Input a Input b Output
State
qo - q2 q1 1
q1 q3 q4 0
q2 q4 q1 1
q3 q4 q3 1
q4 q4 q4 0
Diagram:
Question No 2:
Solve the following for the Moore Machine you design in Question 1.
c – Mention the states that are involved in to generate the output for input “ababbabb”.
Solution: “q0,q1,q2,q3,q4” are the states involved.