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 ?
- (A)
P – 4; Q – 1; R – 3; S – 2
- (B)
P – 2; Q – 3; R – 1; S – 4
- (C)
P – 2; Q – 1; R – 3; S – 4
- (D)
P – 4; Q – 3; R – 2; S – 1
