Assignment 2
Assignment 2
i) 10+(1010)*[^+(1010)*]=10+(1010)*
ii)(0+011*)+(0+011*)(01+0100*)(01+0100*)*=01*(010*)*
b) State Arden’s theorem and construct the regular expression for the following FA using Arden’s
theorem.
4. a) Prove that the language L= {an b n c n | n>=1} is not regular using pumping lemma.
5. Write Regular expression for the following L = { an bm : m, n are even} L = { an ,bm : m>=2, n>=2}
6. Prove that L={w|w is a palindrome on {a,b}*} is not regular. i.e., L={aabaa, aba, abbbba,…}
8. Prove that L={ all strings of 1’s whose length is prime} is not regular. i.e., L={12,13 ,15 ,17 ,111 ,----}
d) Prove or disprove the given regular expression (rs + r)*= r(sr + r)*
11.a) Construct an NFA to accept the language represented by a*b*c*. Convert the NFA to its
equivalent DFA.
12. a)
b)