Lesson 8, Topic 3
In Progress

# Algorithm

Lesson Progress
0% Complete

This is a set of instructions used in programming. Algorithms set out the series of steps necessary to find the solution to a problem. Therefore, Algorithms are sequences of steps involved in solving a particular problem. Another name for programming language is algorithmic language, and examples of algorithmic languages are COBOL, PASCAL, C++.

Before using computers to solve a problem;

1. The detailed steps involved must be known.

2. The problem must first be solved manually without the use of a computer.

3. The order of carrying out the steps must be known.

4. Every algorithm must have a start and a stop (it must be finite)

5. It must produce desirable results.

### An Example of An Algorithm:

How to prepare white Rice/ Eba / Quaker oat or Pap.

1. Start.

2. Light the stove or gas cooker.

3. Place a clean pot on it.

4. Put a desired quantity of water in it.

5. Check if the water is boiling, if yes, go to step 6 Otherwise, repeat step 4 until the water is boiling.

6. Pour-washed rice into the pot.

7. Boil it until you are satisfied.

8. Stop/End

error: