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

Quiz: Regular Grammars and Finite Automata · Question 10 of 10

Which statement is true?

Which statement is true?

  1. A.Left-linear grammars generate more languages than right-linear grammars
  2. B.Every linear grammar is regular
  3. C.Right-linear and left-linear grammars both generate exactly the regular languages
  4. D.Regular grammars are Type 2 in the Chomsky hierarchy
Answer & explanation

Correct answer: Right-linear and left-linear grammars both generate exactly the regular languages

Regular grammars are Type 3; both one-sided forms describe exactly the regular languages.

Can you get the rest right without peeking?

Take the timed Quiz: Regular Grammars and Finite Automata quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →