GATE CS 2015, set 3 · Question 15 · Compiler Design · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer
Among simple LR (SLR), canonical LR, and look-ahead LR (LALR), which of the following pairs identify the method that is very easy to implement and the method that is the most powerful, in that order?
- (A) SLR, LALR
- (B) Canonical LR, LALR
- (C) SLR, canonical LR
- (D) LALR, canonical LR
Answer
Answer (C)
Answer from the official GATE CS 2015 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes