MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPILER DESIGN

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ā€™.

Detailed explanation-2: -The identification of common sub-expression and replacement of run time computations by compile-time computations is: Local optimization. Constant folding. Loop Optimization.

Detailed explanation-3: -Explanation: The technique used to replace run-time computations with compile-time computations is constant folding. 13.

There is 1 question to complete.