MCQ IN COMPUTER SCIENCE & ENGINEERING

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?
A
Eliminating unwanted variables
B
Reducing the amount of code
C
Less space occupied for generated code
D
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.