ISRO | ISRO CS 2011 | Question 13
Which of the following statements about peephole optimization is False?
(A) It is applied to a small part of the code
(B) It can be used to optimize intermediate code
(C) To get the best out of this, it has to be applied repeatedly
(D) It can be applied to the portion of the code that is not contiguous
Answer: (D)
Explanation: Peephole optimization is kind of optimization technique in which it is applied to a small portion of code called as ‘peep or window’ and peep optimization technique is used to optimize the code in intermediate code generation and to get the best out of all this technique, it has to be applied repeatedly manner but it can not be applied to the portion of the code that is not contiguous form.
Hence option (D) is false.
Quiz of this Question
Please Login to comment...