Show that, For any NFA \(N = (Q_N, \Sigma, \delta_N, q_0, F_N)\), there exists a DFA \(D = (Q_D, \Sigma, \delta_D, q_0, F_D)\) such that \(L(N) = L(D)\) for \(L \subseteq \Sigma^*\).
State and prove the Pumping Lemma for regular languages. How can you show with example that pumping lemma is used to prove that a given language is not a regular? Explain.
Given the following expression grammar for simple arithmetic expression with operator + and *. Remove left recursions from this grammar then simplify and convert to CNF.
\(E \rightarrow E + T \mid T\)
\(T \rightarrow T * F \mid F\)
\(F \rightarrow (E) \mid a\)
Attempt any Eight questions
[8x5=40]Explain the \(\epsilon\)-closure of states of an \(\epsilon\)-NFA with a suitable example
Convert the following regular expression into equivalent Finite Automata.
a. \((0 + 1)^* 10(1 + 0)\)
b. \(1^* 0(0 + 1)^* 1\)
Define the term: Parse Tree, Left-most and right-most derivation, sentential form and ambiguity with example.
Give the formal definition of Push Down Automata. How CFG can be converted into equivalent PDA? Explain with an example.
Define regular grammar. Also explain the method of converting right linear grammar into equivalent Finite Automata.
Construct a Turing Machine that accept a language \(L = \{a^n b^n \mid n > 0\}\)
Define Turing Machine and explain its roles.
Explain about the complexity classes P, NP and NP-complete.
Write short notes (Any two)
a. Big Oh, Big Omega and Big Theta
b. Tractable and Intractable problems
c. Chomsky Hierarchy.