MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPILER DESIGN

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
An optimizing compiler
A
is optimized to occupy less space
B
is optimized to take less time for execution
C
optimizes the code
D
all the above
Explanation: 

Detailed explanation-1: -In computing, an optimizing compiler is a compiler that tries to minimize or maximize some attributes of an executable computer program. Common requirements are to minimize a program’s execution time, memory footprint, storage size, and power consumption (the last three being popular for portable computers).

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: -Explanation: The role of optimizing the compiler is to optimize the code. 20. What is the compiler called which runs on one machine and produces code for a different machine?

Detailed explanation-4: -The Fortran I compiler was the first major project in code optimization.

There is 1 question to complete.