Computer Sciences > Gate 2017 Set-2 > Compiler Design
Match the following according to input(from the left column) to the compiler phase(in the right column) that process it:

(P)Syntax Tree (i)Code generator
(Q)Character Stream (ii)Syntax analyser
(R)Intermediate representation (iii)Semantic analyser
(S)Token stream (iv)Lexical analyser
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)

Correct : Compiler Design

Similar Questions

Consider the following code segment. x = u - t; y = x * v; x = y + w; y = t - z; y = x * y; The minimum number of total variables required to convert the abo...
#575 Fill in the Blanks
Consider the following grammar: stmt -> if expr then else expr; stmt | ε expr -> term relop term | term term -> id | number id -> a | b | c number -> [...
#594 Fill in the Blanks
Consider the following two sets: Constant Folding Which one of the following options is the CORRECT match from Set X to Set Y?
#909 MCQ

Related Topics

compiler phases GATE computer science 2017 syntax tree compiler phase character stream compiler phase intermediate representation compiler phase token stream compiler phase code generator lexical analyser syntax analyser semantic analyser

Unique Visitor Count

Total Unique Visitors

Loading......