Which of the following statements is false?

PYQ GATE 2001

Which of the following statements is false?

  1. A.

    An unambiguous grammar has the same leftmost and rightmost derivation

  2. B.

    An LL(1) parser is a top-down parser

  3. C.

    LALR parsing is more powerful than SLR parsing

  4. D.

    An ambiguous grammar can never be LR(k) for any k

Attempted by 344 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…