🎙 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 6 of 10

Which of these is a unit production?

Which of these is a unit production?

  1. A.A → a
  2. B.A → BC
  3. C.A → B
  4. D.A → ε
Answer & explanation

Correct answer: A → B

A unit production has exactly one variable on the right side.

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 →