COMPILER DESIGN

SYNTAX ANALYSIS

ROLE OF THE PARSER

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The identification of common sub-expression and replacement of run-time computations by compile time computations is
A
local optimization
B
loop optimization
C
constant folding
D
data flow analysis
Explanation: 

Detailed explanation-1: -The identification of common sub-expression and replacement of run-time computations by compile-time computations isa)Local optimizationb)Loop optimizationc)Constant foldingd)Data flow analysisCorrect answer is option ā€˜Cā€™.

There is 1 question to complete.