Problem
Problem
Give state diagrams of NFAs with the specified number of states recognizing each of the following languages. In all parts, the alphabet is {0,1}.
Aa. The language {w| w ends with 00} with three states
Step-by-step solution
Step 1 of 8
a.
Consider the Language with three states over the alphabet . The language states that the Finite automata should
consist of three states that accept the strings over the alphabet and ends with 00. Let M be the NFA that recognizes . The state diagram
of M is as follows:
Comment
Step 2 of 8
b.
with five states over the alphabet . The language states that
the Finite automata should consist of five states that accept the strings over the alphabet and contains the substring 0101. Let M be the
NFA that recognizes . The state diagram of M is as follows:
Comment
Step 3 of 8
c.
with 6 states over the alphabet . Let M be the NFA that recognizes
. Divide L into 2 languages and .
Now
Comments (2)
Step 4 of 8
d.
Consider the Language with 2 states over the alphabet . Let M be the NFA that recognizes . The state
diagram of M is as follows:
Comment
Step 5 of 8
e.
Consider the Language with 3 states over the alphabet . The language states that the finite automata
accept all the strings containing any number of zeroes and ones followed by at least one zero. Let M be the NFA that recognizes . The state
diagram of M is as follows:
f.
Comments (21)
Step 6 of 8
Consider the Language that accepts the strings of the form with 3 states over the alphabet . Let M be the NFA that
recognizes . The state diagram of M is as follows:
Comment
Step 7 of 8
g.
Consider the Language with one state over the alphabet . The language states that
the finite automata accept a null string. Let M be the NFA that recognizes . The state diagram of M is as follows:
Comment
Step 8 of 8
h.
Consider the Language L that accepts the strings of the form with one state over the alphabet . Let M be the NFA that recognizes L.
The state diagram of M is as follows:
Comment