Open In App

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

Like Article
Like
Save
Share
Report

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


Last Updated : 02 May, 2018
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads