ALGORITHMS FLOWCHARTS : LSUS
DATA PROCESSING SSS2 SECOND TERM
WEEK 8
ALGORITHMS FLOWCHARTS
Contents
The algorithm is the step-by-step procedure of solving a particular problem. It is simply a sequence of clear and precise instructions for solving a particular problem. Algorithms are usually written in English and some few mathematical notations (signs, symbols)
Characteristics of Algorithms
- They are written in sequence.
- They are written in English-like statements.
- Finite, it must have a beginning and an end.
- Should be effective
- Should not be ambiguous. Should be consistent.
Example
An algorithm to calculate an average of three numbers:
Step1: Enter the first number N1
Step2: Enter the second number N2
Step3: Enter the third number N3
Step4: Calculate the total (N1+N2+N3)
.... View MoreSubscribe now to gain full access to this lesson note
Take Me ThereClick here to gain access to the full notes.