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

My Personal Notes arrow_drop_up
Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.