Elective Theory of Computation

Theory of ComputationPU Spring 2023

a) Define alphabet, string, and language with examples. hs b) Design a DFA for the language L = w € (a, b)" : w ends with bb hs c) Define an ambiguous grammar. Check if below grammar is ambiguous:…

5
  • a) Define alphabet, string, and language with examples. hs}
  • b) Design a DFA for the language L = {w € (a, b)" : w ends with bb} hs}
  • c) Define an ambiguous grammar. Check if below grammar is ambiguous: SaB | ab ie, ADaAB la ere) B>ABb |b
A worked answer is on its wayMeanwhile, read the Theory of Computation notes for this topic.

Discussion

Loading…

More Theory of Computation questions

All Theory of Computation old questions