Shift reduce parsing belongs to a class of

2013

Shift reduce parsing belongs to a class of

  1. A.

    bottom up parsing

  2. B.

    top down parsing

  3. C.

    recursive parsing

  4. D.

    predictive parsing

Attempted by 126 students.

Show answer & explanation

Correct answer: A

Shift-reduce parsing constructs a parse tree by processing input from the leaves up to the root symbol. This direction of derivation categorizes it strictly within bottom-up parsing techniques rather than top-down approaches.

Explore the full course: Isro