Question:

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
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

An algorithm must terminate after executing a finite number of steps. This property is known as termination or finiteness. Hence, \[ \boxed{\text{Termination}} \] ensures that an algorithm does not run forever. Therefore, \[ \boxed{(B)} \]
Was this answer helpful?
0
0