|
|
|
|
|
|
|
|
|
|
|
|
|
|
v |
An
algorithm is a systematic method for
|
|
|
deterministically
producing a specified result
|
|
|
v |
Two
participants --
|
|
|
|
o |
The
person specifying the algorithm is a programmer
|
|
|
|
o |
Some
other agent (person or computer) will execute the
|
|
|
algorithm,
i.e. follow its instructions, without intervention of
|
|
the
programmer
|
|
|
v |
Recipes
are an example of algorithms written by
|
|
|
chefs
and followed by cooks to produce a specified
|
|
|
food
|
|