0
35kviews
Construct a Mealy machine to accept all strings ending with 00 or 11. Convert the same to Moore Machine (Patrial answer)
2 Answers
4
2.6kviews

enter image description here

In the above diagram, we have assumed if string ends in 00 then o/p is A, if it ends in 11 o/p is B. otherwise C.

Mealy M/C

- i/p = 0 i/p = 1 0 1 o/p
$\rightarrow$ $q_0$ $q_1$, c $q_3$,c $\rightarrow$ $q_0$ $\epsilon$ $q_1$c $q_3$c $\epsilon$
$q_1$ …

Create a free account to keep reading this post.

and 5 others joined a min ago.

2
875views

cOMING sOON


Create a free account to keep reading this post.

and 5 others joined a min ago.

Please log in to add an answer.