Define regular expression with its operators. How do you convert DFA to regular expression? Explain with an example.
What is finite state machine? Convert the following NFA to DFA, where \(q_0\) is starting state.
Design a PDA that accepts palindrome string over alphabet \(\{a, b\}\), and convert it into CFG.
Attempt any Eight questions
[8x5=40]Define alphabet, string and substring.
When a grammar is said to be ambiguous? Remove the left recursion from the following grammar.
\(A \rightarrow A0 \mid 1A \mid 00 \mid 11 \mid 01\)
Define halting problem. Discuss about satisfiability problem with an example.
Write the formal definition of Turing machine and define it as subroutine.
What is counter machine? Differentiate between Turing machine and universal Turing machine.
Find out whether the language \(L = \{x^n y^n z^n \mid n > 1\}\) is context free or not using Pumping lemma.
Prove that every multi-tape Turing machine has an equivalent single-tape Turing machine.
Convert the following grammar to GNF.
\(S \rightarrow ABCD \mid aD\), \(D \rightarrow BD \mid \epsilon\), \(A \rightarrow 0\), \(C \rightarrow 1\)
Define abstract and optimization problem. Discuss about Moore machine.