CS-501-CBGS
B.Tech., V Semester
Examination, June 2020
Choice Based Grading System (CBGS)
Theory of Computation
1. a) Differentiate Mealy machine and Moore machine with diagram.
Ans. Click here
b) Design Turing machine to add two number a and b.
2. a) State Pumping Lemma and show that L 1 { aibi i>=1} is not a regular language.
b) Explain types of Turing machine in detail.
3. a) Prove that CFL are not closed under intersection.
Ans. Click here.
b) Construct Moore machine for the following Mealy machine.
Ans. Click here.
4. a) Explain P class problems in detail.
b) What is a trap state in FA? Explain the properties of transition function.
Ans.
5. a) Define DFA, List three household applications of finite automata.
Ans.
b) What are leftmost and rightmost derivations? Explain with suitable example.
Ans. Click here.
6. a) What is PDA? Explain instantaneous description of PDA.
b) Show that the following grammar is ambiguous.
S → aSbS|bSaS|∈
Ans. Click here
7. a) How can we construct regular grammar from regular expression?
Ans. Click here.
b) Write given CFG for R.E (011 + 1)*(01)*.
Ans. Click here.
8. Write short note on any three of the following.
i) Undecidable problem
ii) Two way finite automata
iii) UTM
iv) Multitape
v) Recursively enumerable set
Hi! I just finished reading your blog post, and I must say, it was excellent. Your ability to explain complicated concepts in a simple and engaging way is truly remarkable. Thank you for providing such valuable content. I can’t wait to read more from you in the future.
I take pleasure in, cause I found exactly what I was
having a look for. You’ve ended my four day lengthy hunt!
God Bless you man. Have a great day. Bye