Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 7 - No. 44)

What does an 'infinite loop' in an algorithm cause?
The algorithm to execute correctly.
The algorithm to crash.
The algorithm to repeat indefinitely.
The algorithm to produce the wrong output.

Explanation

An infinite loop will repeat forever, or until the program is stopped manually.

Comments (0)

Advertisement