Which of the following statement is true?

1998

Which of the following statement is true?

Answer: C. Canonical LR parser is more powerful than LALR parser.

  1. A.

    SLR parser is more powerful than LALR.

  2. B.

    LALR parser is more powerful than Canonical LR parser.

  3. C.

    Canonical LR parser is more powerful than LALR parser.

  4. D.

    The parsers SLR, Canonical LR, and LALR have the same power.

Attempted by 54 students.

Show answer & explanation

Correct answer: C

image.png

Explore the full course: Ssc Je Imd Scientific Assistant Computer Science

Loading lesson…