All mock tests are FREE till 31 December — register to save your progress
Unit 8 · Theory of Computation and Compilers Paper 2 CS · December 2022 Shift 1

While processing a string, an LR parser reads the input

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. From left to right

Explanation

'L' in LR means scanning the input Left to right; 'R' means producing a Rightmost derivation in reverse.

More Theory of Computation and Compilers questions