|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
v |
The
“input” is the data that will be transformed by the
|
|
|
algorithm
to create the output
|
|
|
v |
In
giving an algorithm, state
|
|
|
|
o |
The
type of data expected -- whole numbers, letter strings
|
|
|
|
o |
The
number of data items expected
|
|
|
|
o |
The
structure, if any, of the data expected -- a list, table, etc.
|
|
v |
The
“output” is the result of the computation -- its
|
|
|
description
often forms the name of the algorithm
|
|
|
v |
The
features specified are the same as for input
|
|
|
|
o |
The
types of data forming the result
|
|
|
|
o |
The
number of data items forming the result
|
|
|
|
o |
The
structure of the result
|
|