COMPILER DESIGN

INTRODUCTION TO COMPILER DESIGN

OVERVIEW OF COMPILERS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Some code optimizations are carried out on the intermediate code because
A
they enhance the portability of the compiler to other target processors
B
program analysis is more accurate on intermediate code than on machine code
C
the information from dataflow analysis cannot otherwise be used for optimization
D
the information from the front end cannot otherwise be used for optimization
Explanation: 

Detailed explanation-1: -Machine-independent optimization phase tries to improve the intermediate code to obtain a better output.

Detailed explanation-2: -Code optimization is a program modification strategy that endeavours to enhance the intermediate code, so a program utilises the least potential memory, minimises its CPU time and offers high speed.

There is 1 question to complete.