Theory of Computation 2070
Attempt
all the questions.
Group
A
(8x4=32)
AI is thinking...
1. Differentiate between deterministic and non-deterministic finite automata.
AI is thinking...
2. What do you mean by pumping lemma for regular languages?
AI is thinking...
3. Explain the non-deterministic PDA with example.
AI is thinking...
4. Define Turing Machines. Draw NFA - ε corresponding to following regular expression over ∑ = {0,1}
010* + 0(01+10)* 11
AI is thinking...
5. Explain about recursive enumerable and recursive language.
AI is thinking...
6. Explain the computational complexity with example.
AI is thinking...
7. Differentiate between class P and class NP.
AI is thinking...
8. Compare FA, NFA and NFA- ε with illustration.
AI is thinking...
Group
B
(6x8=48)
AI is thinking...
9. Define finite automata and draw FA for the strings.
AI is thinking...
10. For the following regular expression draw an ε- NFA recognizing the corresponding languages.
i. (00 +1)*(10)*
ii. 001*0*11
AI is thinking...
11. Define CFG. Prove the following CFG is ambiguous.
S→S+S
| S*S | (S) | a
Write
the unambiguous CFG for the above grammar.
AI is thinking...
12. Draw Turing Machine (TM) to accept palindromes over {a, b}. (Even as well as odd Palindromes).
AI is thinking...
13. Prove that any regular language can be accepted by a finite automata with all details.
AI is thinking...
14. Explain the following:
a)
Regular Grammar
b)
Halting problem
c)
Chomsky hierarchy
d)
NP-complete Problem
AI is thinking...