Consider the SLR(1) and LALR (1) parsing tables for a context free grammar.…

PYQ GATE 1992

Consider the SLR(1) and LALR (1) parsing tables for a context free grammar. Which of the following statements is/are true?

  1. A.

    The go to part of both tables may be different.

  2. B.

    The shift entries are identical in both the tables.

  3. C.

    The reduce entries in the tables may be different.

  4. D.

    The error entries in the tables may be different.

Attempted by 22 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…