Question:easy

Which characteristic ensures that an algorithm does not run forever?

Show Hint

Characteristics of an algorithm: \[ \boxed{ \begin{aligned} &\text{Input}\\ &\text{Output}\\ &\text{Definiteness}\\ &\text{Finiteness (Termination)}\\ &\text{Effectiveness} \end{aligned} } \]
Updated On: Jul 23, 2026
  • Accuracy
  • Termination
  • Storage
  • Versatility
Show Solution

The Correct Option is B

Solution and Explanation

Step 1: List what a valid algorithm must have.
Every algorithm needs clear input, clear output, unambiguous steps, and it must finish after a finite number of steps.
Step 2: Focus on the finishing condition.
The property that guarantees the algorithm stops after finitely many steps, rather than looping forever, is called termination (or finiteness).
Step 3: Match to the option.
Accuracy, storage and versatility don't say anything about whether the process ever stops, so termination is the right fit.
\[ \boxed{\text{Termination}} \]
Was this answer helpful?
0