Anda di halaman 1dari 3

www.skedocs.blogspot.

in
ANNA UNIVERSITY OF TECHNOLOGY, COIMBATORE B.E./ B.TECH. DEGREE EXAMINATIONS: APRIL / MAY 2011 REGULATIONS: 2008 FIFTH SEMESTER: INFORMATION TECHNOLOGY 080250018 - THEORY OF COMPUTATION TIME: 3 Hours PART-A (20 x 2 = 40 MARKS) ANSWER ALL QUESTIONS 1. 2. 3. 4. 5 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. What is finite automaton? Give two examples. Distinguish between NFA and DFA. What is the language represented by set L(aa* + aba*b*)? What is an automaton with output? Give an exa'mple. Generate the CFG for the language L What is meant by derivation? Define the instantaneous descriptitln of PDA Define GNF. What is meant by Turing machine? Define the Turing machine halting machine. List out the techniques for Turing machine construction. What is multiple track Turing machine? Define recursive language. When a language is said to be recursively enumerable? State Rice theorem. Mention any tow undecidaQility properties of REL. Distinguish between time and space complexities. Define NP - Complete problem. What are tractable problem? What is an intractable problem? Give two examples. Max.Marks : 100

= {0*1*}.

www.skedocs.blogspot.in
PART - 8 (5 x 12 = 60 MARKS) ANSWER ANY FIVE QUESTIONS 21. a) Prove the following by principle of induction. b)Show that L = {On 10
n

. 1.1! + 2.2! +3.3! + ........... + n.n! = (n+1)!-1, n> 1.


I n1} is not regular

6
6

22.a) Discuss about the Chomsky hierarchy of languages. b)Construct a NFA that accept the set of all strings {a, b} ending with "aba" as substring and construct DFA.

4 8

23

a)

Find a deviation tree of a * b + a * b given that a * b + a * b is in L(G), where G is given by S S + S, S S * S, S a / b

b)

Find the CNF for the following grammar S AS I as, A aab IE, S bba

"
24 . a) b)

Show that the language L = {an b c d


n n

I nO} is not CFL

6 6

Discuss the models of Turing machines. Design PDA for the language L = {a b
3n

25

I nO} and simulate its action on

the input string aaaaaabb.

26. a) Show that the language L and its complement L' are both recursively enumerable then L is recursive. b) Explain the halting problem Is it decidable or undecidable problem

www.skedocs.blogspot.in
27. Write a short notes on the following a) Universal Turing machine b) Post Correspondence Problem

6 6

28. a) Prove that a problem p2 cannot be solved in polynomial time can be proved by the reduction of a problem p1, which is under class p1 to p2. b)Write a note on NP - Completeness.

*****THE END*****

Anda mungkin juga menyukai