MCQ
Q.
A fragment of code that resides in the loop and computes the same value at each iteration is called a?
Correct Answer: C
A fragment of code that resides in the loop and computes the same value at each iteration is called a loop-invariant code. This code can be moved out of the loop by saving it to be computed only once, rather than with each iteration.