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

(P)

Syntax tree

(i)

Code generator

(Q)

Character steam

(ii)

Syntax analyzer

(R)

Intermediate representation

(iii)

Semantic analyser

(S)

Token stream

(iv)

Lexical analyzer

1
P → (ii), Q → (iii), R → (iv), S → (i)
2
P → (ii), Q → (i), R → (iii), S → (iv)
3
P → (iii), Q → (iv), R → (i), S → (ii)
4
P → (i), Q → (iv), R → (ii), S → (iii)

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation