MCQ · 1 mark · Parsing

GATE CS 2017 CS-2 — Q5

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

(P) Syntax tree
(Q) Character stream
(R) Intermediate representation
(S) Token stream

(i) Code generator
(ii) Syntax analyzer
(iii) Semantic analyzer
(iv) Lexical analyzer
Select one option