Which of the following describes a handle (as applicable to LR-parsing)…

PYQ GATE 2008

Which of the following describes a handle (as applicable to LR-parsing) appropriately?

  1. A.

    It is the position in a sentential form where the next shift or reduce operation will occur

  2. B.

    It is non-terminal whose production will be used for reduction in the next step

  3. C.

    It is a production that may be used for reduction in a future step along with a position in the sentential form where the next shift or reduce operation will occur

  4. D.

    It is the production p that will be used for reduction in the next step along with a position in the sentential form where the right hand side of the production may be found

Attempted by 301 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…