Consider the following two statements: P: Every regular grammar is LL(1) Q:…

GATE · 2007 · CS

Consider the following two statements:

P: Every regular grammar is LL(1)
Q: Every regular set has a LR(1) grammar

Which of the following is TRUE?

  1. A.

    Both P and Q are true

  2. B.

    P is true and Q is false

  3. C.

    P is false and Q is true

  4. D.

    Both P and Q are false

Attempted by 215 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…