Which one of the following is true?

PYQ Coal India Management Trainee CBT 2019Modified — slightly modified from the official paper; see the solution

Which one of the following is true?

  1. A.

    Every regular grammar is LL(1) and every regular set does not have an LR(1) grammar

  2. B.

    Every regular grammar is not LL(1) and every regular set does not have an LR(1) grammar

  3. C.

    Every regular grammar is LL(1) and every regular set has an LR(1) grammar

  4. D.

    Every regular grammar is not LL(1) and every regular set has an LR(1) grammar

Attempted by 342 students.

Sign up free to check your answer

Sign up free

Explore the full course: Coal India Management Trainee

Loading lesson…