AT Expected Questions
AT Expected Questions
5. Convert the DFA given below to regular expression, R133 using (10)
Rkij = RK-1ij + RK-1ik(RK-1 kk)*RK-1kj. Show detailed working steps in Basis and Induction.
δ 0 1
→q1 q2 q1
q2 φ q3
*q3 q3 q2
6. Convert the following DFA to RE using state elimination technique
0 1
→*P S P
Q P S
R R Q
S Q R
q0 q1
1
0 1
1 0
q2 q3
0,1
11. State and prove pumping Lemma for regular languages and
a. show that L= {anbn | n>=1 } is not regular.
b. Show that L= {an |n=K2 for k>=0 } is not regular.
13. Given CFG G={(A,B),{0,1},P,A} where p={A->0BA|0, B->A1B |AA | 10}. Give RMD,LMD and parse tree for
the string “001100”. Obtain CFG to generate string consisting of any number of a’s and b’s with at least
one a.