Rajiv Gandhi Proudyogiki Vishwavidyalaya, Bhopal
B.Tech. – Semester 5 | June 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) Differentiate Mealy machine and Moore machine with diagram.
1(b) Design Turing machine to add two number a and b.
Question 2
2(a) State Pumping Lemma and show that L = {aⁱbⁱ | i ≥ 1} is not a regular language.
2(b) Explain types of Turing machine in detail.
Question 3
3(a) Prove that CFL are not closed under intersection.
3(b) Construct Moore machine for the following Mealy machine. Initial q₀; transitions (input/output): q₀ —0/0→ q₀, q₀ —1/1→ q₁, q₁ —1/0→ q₀, q₁ —0/2→ q₂, q₂ —0/1→ q₁, q₂ —1/2→ q₂.
Question 4
4(a) Explain P class problems in detail.
4(b) What is a trap state in FA? Explain the properties of transition function.
Question 5
5(a) Define DFA, List three household applications of finite automata.
5(b) What are leftmost and rightmost derivations? Explain with suitable example.
Question 6
6(a) What is PDA? Explain instantaneous description of PDA.
6(b) Show that the following grammar is ambiguous: S → aSbS | bSaS | ε.
Question 7
7(a) How can we construct regular grammar from regular expression?
7(b) Write given CFG for R.E (011+1)*(01)*.
Question 8
8(i) Write a short note on Undecidable problem.
8(ii) Write a short note on Two way finite automata.
8(iii) Write a short note on UTM.
8(iv) Write a short note on Multitape.
8(v) Write a short note on Recursively enumerable set.
Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion