Differentiate between deterministic PDA and non-deterministic PDA. How do you convert PDA to CFG and CFG to PDA. Illustrate with an example.
Describe about any two variants of Turing machine. How do you encode the Turing machine. Explain.
List the properties of regular language. Show that \(L = \{0^k 1^k \mid k > 0\}\) is not regular language.
Attempt any Eight questions
[8x5=40]What is different between Kleen closure and Positive closure? Given the alphabet \(A = \{a, b\}\), find \(A^1\) and \(A^2\).
State cooks theorem. Define halting and undecidable problem
Design a Turing Machine that accepts palindrome binary strings.
Show that for any NFA N, there is a DFA D such that L(N) = L(D).
Construct a DFA that accepts binary string start with 0 and show the acceptance of the string 0101.
Define language of a grammar. Discuss about parse tree.
Explain the Chomsky Hierarchy.
Define NFA. What is the purpose of stack in PDA?
What is ambiguous grammar? Discuss about BNF.