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

GATE · 1992 · CS · Question 2 subparts

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 1 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…