GATE CS 2019 · Question 13 · Compiler Design · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer

Which one of the following kinds of derivation is used by LR parsers?

  1. (A) Leftmost
  2. (B) Leftmost in reverse
  3. (C) Rightmost
  4. (D) Rightmost in reverse
Answer

Answer (D)

Answer from the official GATE CS 2019 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes