🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Simplifying CFGs and CNF: all 10 questions

Quiz: Simplifying CFGs and CNF · Question 8 of 10

Which rule is allowed in Chomsky Normal Form?

Which rule is allowed in Chomsky Normal Form?

  1. A.A → aB
  2. B.A → BCD
  3. C.A → BC
  4. D.A → B
Answer & explanation

Correct answer: A → BC

CNF rules are A → BC or A → a (plus S0 → ε if ε is in the language).

Can you get the rest right without peeking?

Take the timed Quiz: Simplifying CFGs and CNF quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →