GATE CS 2016, set 2 · Question 29 · Compiler Design · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer

Match the following:

List IList 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
  1. (A) P ↔ i, Q ↔ ii, R ↔ iv, S ↔ iii
  2. (B) P ↔ iii, Q ↔ i, R ↔ ii, S ↔ iv
  3. (C) P ↔ ii, Q ↔ iii, R ↔ i, S ↔ iv
  4. (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