GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2024 set2

GATE 2024 set2 · CS · MCQ · 1 mark · Compiler Design › Intermediate Code Generation

GATE 2024 set2 Computer Science and Information Technology question: Consider the following two sets: Set X Set Y --- --- P. Lexical Analyzer 1. Abstract…

Consider the following two sets:

Set Set
P. Lexical Analyzer 1. Abstract Syntax Tree
Q. Syntax Analyzer 2. Token
R. Intermediate Code Generator 3. Parse Tree
S. Code Optimizer 4. Constant Folding

Which one of the following options is the CORRECT match from Set to Set ?

  1. (A)

    P – 4; Q – 1; R – 3; S – 2

  2. (B)

    P – 2; Q – 3; R – 1; S – 4

  3. (C)

    P – 2; Q – 1; R – 3; S – 4

  4. (D)

    P – 4; Q – 3; R – 2; S – 1

Show answer

Official answer: B

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion