Algorithms


The state of the computation is the complete set of all attributes of objects in the domain of the algorithm (or program) at a given instant.


Sequential Operations

1. Input:

read rate, time

Changes the state of the computation via external input.

2. Assignment:

distance <- rate x time

Changes the state of the computation via internal calculation.

3. Output:

write distance

Reports, but does not change, a portion of the state of the computation.

[Prev][TOC][Next]


CS1104 Main Page
Last Updated 01/05/2000
© L.Heath, 2000