Theory of Computation: Instruction To Candidates
Theory of Computation: Instruction To Candidates
Theory of Computation: Instruction To Candidates
INSTRUCTION TO CANDIDATES :
1. SECTION-A is COMPULSORY consisting of TEN questions carrying T WO marks
22705 22705
each. 22705 22705 22705 22705 22705 22705 22705
2. SECTION-B contains FIVE questions carrying FIVE marks each and students
have to attempt ANY FOUR questions.
3. SECTION-C contains T HREE questions carrying T EN marks each and students
22705 22705 have to22705
attempt ANY22705 22705
T WO questions. 22705 22705 22705 22705
SECTION-A
22705 22705 22705
Answer briefly :
22705 22705
22705 1.
22705 Differentiate
22705 between22705 .r c
NFA and DFA.
22705 22705 22705 22705 22705
2.
p e
State Pumping Lemma for Context Free Languages.
m
pa o
.r c
22705 22705 22705 22705 22705 22705 22705 22705 22705
3. What is Chomsky Classification of formal languages?
22705
4.
22705 22705
br
Differentiate between Moore and Mealy Machine.
22705 22705
p e
22705 22705 22705 22705
5.
a
What is the difference between acceptance of string in PDA with null stack or with final
state?
p
22705 22705
6.
22705 22705
Explain briefly Lex and Yacc.
22705
8. Explain the acceptance of the string over NFA and DFA over the same alphabet.
22705 9.
22705 Define 22705
terminal and non-terminal
22705 symbol.
22705 22705 22705 22705 22705
22705 1 | M-71894
22705 22705 22705 22705 22705 22705 (S2)-165
22705 22705
SECTION-B
22705 22705 22705 22705 22705 22705 22705 22705 22705
22705 12.
22705 Explain22705
in brief various
22705 types of languages.
22705 Also name the automata
22705 22705 accepting
22705 those 22705
languages.
14. Design a Turing Machine which recognizes the set of all even length palindromes over
{0,1}.
22705 22705 22705 22705 22705 22705 22705 22705 22705
15. Consider the following productions.
.r c
b) Rightmost derivation
22705 22705 22705 22705 22705 22705 22705 22705 22705
c) Parse Tree
p e m
pa o
.r c
22705 22705 22705 22705 22705 22705 22705 22705 22705
br
SECTION-C
22705
16.
22705
Write short
22705
notes on :22705 22705
p
22705e 22705 22705 22705
18. Design a PDA which recognizes the set of all even length palindromes over {a,b}.
22705 2 | M-71894
22705 22705 22705 22705 22705 22705 (S2)-165
22705 22705