Open In App

UGC-NET | UGC NET CS 2015 Dec – II | Question 41

Loop unrolling is a code optimization technique:
(A) that avoids tests at every iteration of the loop.
(B) that improves performance by decreasing the number of instructions in a basic block.
(C) that exchanges inner loops with outer loops
(D) that reorders operations to allow multiple computations to happen in parallel

Answer: (A)
Explanation: Loop unrolling is a code optimization technique that avoids tests at every iteration of the loop. It does not improves performance by decreasing the number of instructions in a basic block. Neither it exchanges inner loops with outer loops nor it reorders operations to allow multiple computations to happen in parallel.
So, option (A) is correct.

Quiz of this Question

Article Tags :