Question 1
Construct a DFA for the language over {0, 1}* such that it contains “000” as a substring.
Construct a DFA for the language over {0, 1}* such that it contains “000” as a substring.
What is ambiguous grammar? Is the following grammar ambiguous?
Is NPDA (Nondeterministic PDA) and DPDA (Deterministic PDA) equivalent? Illustrate with an example.
Construct PDA for the language L={wwR ∣ w∈(a+b)* }
What is its main application? Give an example.
Is it true that non deterministic PDA is more powerful than that of deterministic PDA? Justify your answer.
Construct a CFG for set of strings that contain equal number of a’s and b’s over ∑ = {a,b}.
What is chomsky normal form? Explain with an example
Convert the following grammar G in greibach normal form. S→ABb|aA→aaA|BB→bAbDesign a Turing machine with no more than three states that accepts the language a(a+b)*. Assume ∑ = {a,b}
Convert the following grammar into CNFS→cBA, S→A, A→cB, A→AbbS, B→aaaWhen we say a problem is decidable? Give an example of an undecidable problem.
Prove that for two recursive languages L1 and L2 their union and intersection is recursive.
Circulate this solved paper with KaTeX formulas and 1-click AI step solvers to your batchmates on WhatsApp or Telegram.
Official Gujarat Technological University (GTU) examination paper and step-by-step solutions for Theory of Computation (TOC) (Winter 2024, B.E. · Computer Engineering, Sem 6). Features complete 70-mark regular & remedial examination pattern, official marking distribution across all 5 questions, and direct 1-click official PDF download.
Transcribed for student exam preparation from Gujarat Technological University official examination archives. Questions, syllabus guidelines, and curriculum marking schemes remain the intellectual property of Gujarat Technological University.