Skip to content

UGC NET CS 2016Theory of Computation and Compilers › Code Generation and Code OptimizationVerified

UGC NET CS 2016 PYQ: In ____, the bodies of the two loops are merged together to form a single loop provided that they do not…

In ____, the bodies of the two loops are merged together to form a single loop provided that they do not make any references to each other.

  1. A
    Loop unrolling
  2. B
    Strength reductions
  3. C
    Loop concatenation
  4. D
    Loop jamming
    Correct answer

Answer

(D) Loop jamming

Approach

Recall the loop optimization that merges two loops.

Reviewed by UGC IQ Editorial Team.