Program & Algorithm Differences
We will return to this point later
A program is an instance of an algorithm, meaning that the algorithm is a more abstract concept of a process than is the program
The program has been created with a particular set of properties, specific representations, input assumptions, etc., but implementing the underlying logic of the algorithm
A different set of conditions leads to a different program implementing the algorithm’s logic
Fundamental principle: There can be different
instances of a single abstract idea … algorithms
and programs illustrate the principle