GATE CS 2016, set 2 · Question 29 · Compiler Design · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer
Match the following:
| List I | List II |
|---|---|
| (P) Lexical analysis | (i) Leftmost derivation |
| (Q) Top down parsing | (ii) Type checking |
| (R) Semantic analysis | (iii) Regular expressions |
| (S) Runtime environments | (iv) Activation records |
- (A) P ↔ i, Q ↔ ii, R ↔ iv, S ↔ iii
- (B) P ↔ iii, Q ↔ i, R ↔ ii, S ↔ iv
- (C) P ↔ ii, Q ↔ iii, R ↔ i, S ↔ iv
- (D) P ↔ iv, Q ↔ i, R ↔ ii, S ↔ iii
Answer
Answer (B)
Answer from the official GATE CS 2016 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes