Which of the following is NOT the action performed by a shift – reduce parser?

2023

Which of the following is NOT the action performed by a shift – reduce parser?

  1. A.

    Shift

  2. B.

    Accept

  3. C.

    Debase

  4. D.

    Error

Attempted by 64 students.

Show answer & explanation

Correct answer: C

The standard actions of a shift-reduce parser are shift, reduce, accept, and error. Debase is not a parser action.

Explore the full course: Niacl Ao It Specialist