101,714 views
33 votes
33 votes
Which statement is not true for a good algorithm?

A. It is clear and cannot be interpreted in more than one way by
different people or machines.
B. It successfully solves the desired problem or performs the desired
task.
C. It can perform a task or solve a problem even if various inputs are
involved.
O D. It uses more resources and more time than it needs to.

User VSadov
by
3.0k points

1 Answer

16 votes
16 votes

Answer:

D. It uses more resources and more time than it needs to.

Step-by-step explanation:

A, B, and C each show the workload of an algorithm in positive light. However, D shows it using more resources and time than it needs to; something a "good" algorithm would not do.

User Alfie
by
3.5k points