Rajiv Gandhi Proudyogiki Vishwavidyalaya, Bhopal
B.Tech. – Semester 5 | December 2020
CS-501 (CBGS) – Theory of Computation
Time: 3 hours | Maximum marks: 70
Attempt five questions. Each main question has equal weight (14 marks). In case of ambiguity, the English version takes precedence.
Questions restated for study purposes.
Question 1
1(a) State the difference between PDA and FA.
1(b) Show that the following grammar is ambiguous: S → aSbS | bSaS | ε.
Question 2
2(a) Define the closure properties of regular languages. State these properties.
2(b) What is Turing computable function? Define recursive function.
Question 3
3(a) Give CFG for R.E. (011+1)*(01)*.
3(b) Explain multitape and universal Turing machine.
Question 4
4(a) Design DFA that accept all strings with at most 3 a’s.
4(b) Construct NFA for the following grammar: S → Ab | ab, A → Ab | Bb, B → Ba | a.
Question 5
5(a) What is decidable and undecidable problems?
5(b) Define two way finite automata.
Question 6
6(a) Explain NP hard problems in detail.
6(b) How can we construct regular grammar from regular expression? Explain.
Question 7
7(a) Give two properties of recursively enumerable set.
7(b) How P class problems different from NP class problems?
Question 8
8(i) Write a short note on Turing machine model.
8(ii) Write a short note on NP-heat problem.
8(iii) Write a short note on Hamiltonian path problem.
8(iv) Write a short note on ID of Turing machine.
8(v) Write a short note on Pumping Lemma.
Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion