Which of the following properties ensures that an algorithm must always…
2018
Which of the following properties ensures that an algorithm must always terminate after a finite number of steps?
- A.
Effectiveness
- B.
Definiteness
- C.
Finiteness
- D.
Output
Attempted by 382 students.
Show answer & explanation
Correct answer: C
The property that ensures an algorithm must always terminate after a finite number of steps is Finiteness. This is the specific requirement that the algorithm must end after a limited number of steps. It cannot run in an infinite loop.