Elective Theory of Computation

Theory of ComputationPU Spring 2024

a) What is CFG? Design CFG for language L=a"b"; m =1, n =1 . Test the grammar for derivation of aaaabbb and also draw equivalent parse tree. b) Convert the following grammar into Chomsky Normal…

15
  • a) What is CFG? Design CFG for language L={a"b"; m>=1, n>=1 }. Test the grammar for derivation of aaaabbb and also draw equivalent parse tree.
  • b) Convert the following grammar into Chomsky Normal form. S— bAD A aB/oAB Bob D> « (Null)
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