Professional Documents
Culture Documents
No :
3. a) Obtain the Regular expression for the languare L={anbm : (n+m) is even}. 7 Marks
b) Show that the language L={ap: p is prime} is not regular. 7 Marks
4. a) Construct LMD and RMD for the string ‘aabbaa’ from the grammar 7 Marks
S → aAS / a; A → SbA / SS / ba
b) Construct left linear and right linear grammars for the language (0+1)*00(0+1)*. 7 Marks
7 Marks
b) Distinguish CNF and GNF.
Page 1 of 2
Course Code : ACT1114 /2012 R-2012 Reg. No :
6. a) Convert the following grammar to PDA that accepts the same language by empty stack 7 Marks
S → Aaa; A → aS / bS / a
b) Construct a PDA to accept the language L={aibi : i≥1}. 7 Marks
8 a) Write a short notes on “Linear Bounded Automata and context sensitive languages”. 7 Marks
b) Writ about ‘Universal Turing Machine’. 7 Marks
* * *
Page 2 of 2