Toc Summer 2021
Toc Summer 2021
___________
OR
Q.4 (a) What is Turing Machine? Write advantages of TM over FSM. 03
(b) Write a short note on Universal Turing Machine. 04
(c) Convert the following grammar to a PDA: 07
I → a | b | Ia | Ib | I0 | I1
E → I | E * E | E + E | (E)
Q.5 (a) What are the applications of regular expressions and finite automata? 03
(b) Consider following grammar: 04
S → ASB | Λ
A → aAS | a
B → SbS | A | bb
i. Eliminate useless symbols, if any.
ii. Eliminate Λ productions.
(c) Draw a Turing Machine(TM) to accept Palindromes over {a,b}. (Even as well as Odd 07
Palindromes).
OR
Q.5 (a) Define grammar and chomsky hierarchy. 03
(b) Write a short note on church-turing thesis. 04
(c) Write a Turing Machine to copy strings. 07
*************