Important Questions 2k21 A Series1
Important Questions 2k21 A Series1
3. Generate regular expression for strings in which number of a's is a multiple of three.
={ a,b}
4. Write the recursive definition of regular expression
5. Explain any three closure properties of regular languages
6. Draw the state-transition diagram showing an NFA N for the following Language L.
7. Obtain the DFA over the alphabet set Σ = {a, b}, equivalent to the regular grammar G
with start symbol S and productions: S -> aA | bS , A->aB | bS | a and B->aB | bS | a
8. Construct an £-NFA for the language L={ 0n1m2p | n,m,p >=0 } and convert it into
equvalent NFA without £-transitions
9. Draw the state-transition diagram showing an NFA N for the following language L.
10. Using pumping lemma for Regular Languages, prove that the language. L = {a nbn | n
>0} is not Regular.
11. Convert the regular expression to NFA with epsilon transition a (a+b)*aabb.
12. Write regular expression for the language
22. Find the equivalent DFA for the regular expression (0+1)*011.
23. Construct NFA without – transitions from the following NFA 'M'.
M=({q0, q1, q2}, {a, b, c}, δ , q0, {q2}) and
δ(q0 , a) = {q0},
δ(q0 , b) = {q1},
δ(q0 , c) = {q2}
δ(q1 , £ ) = {q0},
δ(q1 , a) = {q1},
δ(q1 , b) = {q2},
δ(q2 , £ ) = {q1},
δ(q2 , a) = {q2},
δ(q2 , c) = {q0}