7.1 The algorithm
An algorithm is a
series of steps which, when performed correctly, will solve a problem in a
finite time. The three main steps involved in producing a solution are
Ø
Understand the
problem
Ø
Work out a way
to solve the problem
Ø
Check the
solution to the problem

True or
False? Write out the true sentences and change the false sentences so that they
are true.
|
Algorithms contain an infinite number of steps |
|
Algorithms can be used to describe simple daily actions |
|
An algorithm to catch a train can be designed in five steps |
|
The steps in an algorithm can be performed in any order |
|
A correct algorithm is only written after the problem is fully understood |
|
A solution to a problem does not depend on past experience |
|
There can be more than one correct algorithm to solve a problem |
|
Algorithms need to be tested |
|
Algorithms are never modified or discarded |