COMPUTER SCIENCE AND ENGINEERING
COMPILER DESIGN
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which of the following are true with respect to code optimization phase?
|
Eliminating unwanted variables
|
|
Reducing the amount of code
|
|
Less space occupied for generated code
|
|
Low speed for generated code
|
Explanation:
Detailed explanation-1: -The code optimization in the synthesis phase is a program transformation technique, which tries to improve the intermediate code by making it consume fewer resources (i.e. CPU, Memory) so that faster-running machine code will result.
Detailed explanation-2: -Which of the following is correct regarding an optimizer Compiler? Explanation: An optimising compiler is a computer programme that strives to minimise or maximise specific characteristics of an executable programme. 17.
Detailed explanation-3: -Code Optimization Question 5 Detailed Solution The correct answer is option 2. Fortran is a programming language used widely in numerical and scientific computing.
There is 1 question to complete.