133k views
2 votes
Whch of the followng should be true of any algorthm?

1) The order n whch the steps makng up the algorthm are followed s logcally determned
2) Followng the nstructons n the algorthm wll always result n the same outputs, regardless of any nputs
3) The nstructons n the algorthm contan all necessary nformaton to be mplemented

User Brianne
by
7.6k points

1 Answer

6 votes

Final answer:

An algorithm should have a logically determined order of steps, produce consistent outputs, and contain all necessary information for implementation.

Step-by-step explanation:

The following should be true of any algorithm:

  1. The order in which the steps making up the algorithm are followed is logically determined. This means that there is a clear sequence of steps that need to be followed to ensure the desired outcome.
  2. Following the instructions in the algorithm will always result in the same outputs, regardless of any inputs. This implies that the algorithm is deterministic and will produce consistent results.
  3. The instructions in the algorithm contain all necessary information to be implemented. This ensures that the algorithm is self-contained and does not require any external information or context to be executed.

User Gianni Di Noia
by
8.5k points