# Definition:Algorithm/Step

< Definition:Algorithm(Redirected from Definition:Step of Algorithm)

Jump to navigation
Jump to search
## Definition

An algorithm consists of a finite set of **steps**, uniquely identified by means of a label, conventionally numeric.

A **step** of an algorithm consists of:

- an
**operation**

- an
**instruction**as to what the algorithm is to do next, which will be one of the following:

- $(3): \quad$ To
**terminate**.

- $(3): \quad$ To

It is usual to include a statement in natural language which briefly describes the purpose of this **step**.

A **step** may also contain a comment.

## Sources

- 1997: Donald E. Knuth:
*The Art of Computer Programming: Volume 1: Fundamental Algorithms*(3rd ed.) ... (previous) ... (next): $\S 1.1$: Algorithms: Algorithm $\text{E}$