ALC Prev - 2023
ALC Prev - 2023
ALC Prev - 2023
FACULTY OF ENGINEERING
B.E (CSE) V. Semester (AICTE) (Main) (New) Examinations, February/ March 2023
.2.
Code No: E-5773/N/AICTE
-2
4.a) Convert the following Context free grammar into Chomsky Normal form after simplífying
the grammar.
G(V=(S.A,B,C.D), T={a.b}.P,S} is
SaAa laBC AaS | bD |E BaBa C|b Cabb | DD D aDa
b) State and Use pumping lemma to prove that the language L= {a" I p is a prime number
is not a CFL.
a Find the solution to the instance of Post Correspondence Problem given in the table.
Xi Yi
0 000
01000 O1
01
aMinimize the following Deterministic Finite Automaton (DFA) and then draw the
Minimized DFA transition diagram. Check whether the string 011 is Accepted by the
Minimized DFA.
State/Input
1 q2 q3
q2 q3
q3 q4 q3
q4 q3 q5
*q5 q2 q5