The Bottom-up parsing method is also called

2021

The Bottom-up parsing method is also called

  1. A.

    Predictive parsing

  2. B.

    Shift reduce parsing

  3. C.

    Recursive descent parsing

  4. D.

    None of the above

  5. E.

    Question not attempted

Attempted by 108 students.

Show answer & explanation

Correct answer: B

Bottom-up parsing builds the parse tree from leaves to root by repeatedly shifting input symbols and reducing them to non-terminals.
⇒ Hence, it is called Shift-Reduce Parsing

Explore the full course: Bpsc