...
Question 9459 – Compilers
November 14, 2023
Environment
November 14, 2023
Question 9459 – Compilers
November 14, 2023
Environment
November 14, 2023

Question 7966 – Compilers

Match the following according to input (from the left column) to the compiler phase (in the right column) that processes it:

Correct Answer: C

Question 11 Explanation: 
Character stream is input to lexical analyzer which produces tokens as output. So Q → (iv).
Token stream is forwarded as input to Syntax analyzer which produces syntax tree as output. So, S → (ii).
Syntax tree is the input for the semantic analyzer, So P → (iii).
Intermediate representation is input for Code generator. So R → (i).
A
P→(ii), Q→(iii), R→(iv), S→(i)
B
P→(ii), Q→(i), R→(iii), S→(iv)
C
P→(iii), Q→(iv), R→(i), S→(ii)
D
P→(i), Q→(iv), R→(ii), S→(iii)

Leave a Reply

Your email address will not be published. Required fields are marked *