Flat Mid 2 Obj Desc r20
Flat Mid 2 Obj Desc r20
Mark Cognitive
Answer the following Unit CO
s Level
1. a) Explain the closure properties of context free 5M
languages. C303.
5M 3 Understand
b) Discuss Chomsky’s Hierarchy of formal 3
languages.
OR
2. a) Write the procedure for conversion of CNF to
GNF with example
b) Define CNF and convert the following Grammar 5M
C303.
into CNF 5M 3 Remember
3
S -> aAB / Aba
A -> aA / a / Ba
B->ab / bc
Mar Cognitive
Answer the following Unit CO
ks Level
3. a) Explain procedure for conversion of grammar to
PDA.
b) Construct PDA from the following Grammar. 5M C303.
4 Understand
S -> aB 5M 4
B -> bA / b
A -> ba
OR
4. Explain Deterministic Push down Automata with 10M C303.
example. 4 Understand
4
Cognitive
Answer the following Marks Unit CO
Level
5. a) Design a Turing Machine for 0 n 1n where n>=1. 5M
b) Explain various types of Turing Machine with 5M 5 C303.5 Understand
examples.
OR
6. a) Explain about Halting Problem. 5M
b) Explain what undecidable problem is and post 5M 5 C303.6 Understand
correspondence problem.
Code : 20A05503 SET: 2 R20
RAVINDRA COLLEGE OF ENGINEERING FOR WOMEN: KURNOOL
Department of Computer Science & Engineering
B. Tech III Year-I SEMESTER (R20) Second Mid – Term Examinations, December, 2023
FORMAL LANGUAGES AND AUTOMATA THEORY
Cognitive
Answer the following Marks Unit CO
Level
1. a) Write the procedure for conversion of CNF to
GNF with example.
b) Define CNF and convert the following 5M
Grammar into CNF 5M 3 C303.3 Remember
S -> aAB / Aba
A -> aA / a / Ba
B->ab / bc
OR
2. a) Explain the closure properties of context free 5M
languages. 5M 3 C303.3 Understand
b) Discuss Chomsky’s Hierarchy of formal
languages.
Cognitive
Answer the following Marks Unit CO
Level
3. Explain Deterministic Push down Automata with 10M C303.
example. 4 Understand
4
OR
4. a) Explain procedure for conversion of grammar
to PDA.
b) Construct PDA from the following Grammar. 5M C303.
4 Understand
S -> aB 5M 4
B -> bA / b
A -> ba
Cognitive
Answer the following Marks Unit CO
Level
5. a) Explain about Halting Problem. 5M
b) Explain what undecidable problem is and post 5M 5 C303.6 Understand
correspondence problem.
OR
6. a) Design a Turing Machine for 0 n 1n where n>=1. 5M
b) Explain various types of Turing Machine with 5M 5 C303.5 Understand
examples.
Mark Cognitive
Answer the following Unit CO
s Level
1. a) Explain the closure properties of context free 5M
languages. C303.
5M 3 Understand
b) Discuss Chomsky’s Hierarchy of formal 3
languages.
OR
2. a) Write the procedure for conversion of CNF to
GNF with example
b) Define CNF and convert the following Grammar 5M
C303.
into CNF 5M 3 Remember
3
S -> aAB / Aba
A -> aA / a / Ba
B->ab / bc
Mar Cognitive
Answer the following Unit CO
ks Level
3. a) Explain procedure for conversion of grammar to
PDA.
b) Construct PDA from the following Grammar. 5M C303.
4 Understand
S -> aB 5M 4
B -> bA / b
A -> ba
OR
4. Explain Deterministic Push down Automata with 10M C303.
example. 4 Understand
4
Cognitive
Answer the following Marks Unit CO
Level
5. a) Design a Turing Machine for 0 n 1n where n>=1. 5M
b) Explain various types of Turing Machine with 5M 5 C303.5 Understand
examples.
OR
6. a) Explain about Halting Problem. 5M
b) Explain what undecidable problem is and post 5M 5 C303.6 Understand
correspondence problem.
Time: 90 minutes
Cognitive
Answer the following Marks Unit CO
Level
1. a) Write the procedure for conversion of CNF to
GNF with example.
b) Define CNF and convert the following 5M
Grammar into CNF 5M 3 C303.3 Remember
S -> aAB / Aba
A -> aA / a / Ba
B->ab / bc
OR
2. a) Explain the closure properties of context free 5M
languages. 5M 3 C303.3 Understand
b) Discuss Chomsky’s Hierarchy of formal
languages.
Cognitive
Answer the following Marks Unit CO
Level
3. Explain Deterministic Push down Automata with 10M C303.
example. 4 Understand
4
OR
4. a) Explain procedure for conversion of grammar
to PDA.
b) Construct PDA from the following Grammar. 5M C303.
4 Understand
S -> aB 5M 4
B -> bA / b
A -> ba
Cognitive
Answer the following Marks Unit CO
Level
5. a) Explain about Halting Problem. 5M
b) Explain what undecidable problem is and post 5M 5 C303.6 Understand
correspondence problem.
OR
6. a) Design a Turing Machine for 0 n 1n where n>=1. 5M
b) Explain various types of Turing Machine with 5M 5 C303.5 Understand
examples.