For each of the following languages construct a finite-state automaton
that accepts the language. i. { x | x is in {0, 1}*, and no two 0’s are adjacent in x }
ii. { x | x is in {0, 1}*, and each substring of length 3 in x contains at
least two 1’s }
iii. { 1z | z = 3x + 5y for some natural numbers x and y }
iv. { x | x is in {0, 1}*, and the number of 1’s between every two 0’s
in x is even }
B. Find a deterministic finite-state automaton that is equivalent to the
finite-state automaton whose transition diagram is given in the figure
below
#Sales Offer!| Get upto 25% Off: