Академический Документы
Профессиональный Документы
Культура Документы
of Pages: 02
Total No. of Questions: 09
INSTRUCTIONS TO CANDIDATES:
1. SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks each.
2. SECTION-B contains FIVE questions carrying FIVE marks each and students have to
attempt any FOUR questions.
3. SECTION-C contains THREE questions carrying TEN marks each and students have
to attempt any TWO questions.
SECTION A
o m
1. a) Define Finite Automata.
.r c m
b) Define Transition Graphs.
p e o
.r c
c) Describe the following set by Regular Expression {1, 11, 111, 1111...).
a
d) What is the significance of Pumping Lemma?
p
b
f) Define a Grammar. r
e) Differentiate between NDFA and DFA.
p e
g) Give two properties of LR(k) grammars.
a
h) Define Recursively Enumerable Languages.
b rp
i) Compare the computational powers of Pushdown Automata and Turing Machines.
j) What are normal forms of CFG?
M-71894 Page 1 of 2
SECTION B
2. Construct a nondeterministic finite automata accepting the set of all strings over {a,b}
ending in aba, and use it to find a deterministic automaton accepting the same set.
3. Construct a Turing Machine that can accept the set of all even palindromes over {0,1}.
4. Reduce the given grammar into Chomsky Normal Form.
S 1A0S
S 1A0S1S
A1
S0
b’s.
o m
6. Construct a grammar G accepting the set L of all the strings over {a, b} having more a’s than
.r c
SECTION C
m
7. Consider the regular expression R
p e o
.r c
(a+b)*(aa+bb)(a+b)*
p a
Which describes the set of all the words over = {a, b}, containing either two consecutive
a’s or two b’s. Construct a Deterministic Finite Automata A that will accept the same set of
8.
words.
b r p e
Give an example of a language which is accepted by the PDA but not by DPDA. Also
design the PDA for that language.
a
9. Write short notes on the following:
a) Decidability
b) Halting Problem b rp
M-71894 Page 2 of 2