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 class of statement usually produces no executable code when compiled?
A
declaration
B
assignment statements
C
input and output statements
D
structural statements
Explanation: 

Detailed explanation-1: -Explanation: The class of statement when compiled does not produce any executable code is called a structural statement.

Detailed explanation-2: -The object code file is not executable. It requires linking with the run-time system to produce an executable file.

Detailed explanation-3: -Explanation: In peephole optimization a small portion of code need not be contiguous and it is replaced by another which is expected to be better performing. This is often applied repeatedly. So, all given options are true in this question.

There is 1 question to complete.