Consider the following two sets: Set X: P. Lexical Analyzer Q. Syntax Analyzer…

PYQ GATE 2024

Consider the following two sets:

Set X:
P. Lexical Analyzer
Q. Syntax Analyzer
R. Intermediate Code Generator
S. Code Optimizer

Set Y:
1. Abstract Syntax Tree
2. Token
3. Parse Tree
4. Constant Folding

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

  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

Attempted by 307 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…