CS292 Ca2
CS292 Ca2
CS292 Ca2
Tech
YEAR/SEMESTER: II/IV
COURSE NAME: Theory of Computations
COURSE CODE: CS292
Note:
(i) The question paper contains Three Sections.
(ii) Section-A is compulsory. Section-B and C contain internal choice.
SECTION-A
(VERY SHORT ANSWER QUESTIONS)
Attempt ALL parts of the following questions: 0.5 x 10 = 5
SECTION-B
(SHORT ANSWER QUESTIONS)
Attempt any TWO of the following questions: 2.5 x 2 = 5
SECTION-C
(LONG ANSWER QUESTIONS)
Attempt any TWO of the following questions: 5 x 2 = 10
1. Analyze the relationship between Context-Free Languages (CFL) and Push Down
Automata (PDA), including the equivalence between PDA and CFG. Provide examples.
[BT-4/5/6 CO-3 PO-3]
2. Given a grammar [S-> XX
X->XXX/Bx/Xb/a],
Substring = bbaaaab,
Consider the substring and draw its parched tree [BT-4/5/6 CO-3 PO-5]
3. Find the regular expression of the following using Arden’s Theorem . [BT-4/5/6 CO-2
PO-2]
4. Consider the CFG and remove the unit production [BT-4/5/6 CO-3 PO-2]
S->AB
A->a
B->C/b
C->D
D->E
E->a