ALGORITHM
Algorithm is a set of sequential
steps to solve any logical or a mathematical problem. It is always written in
simple language and precise manner, so that every one can understand the steps.
Example:
Algorithm To Set A School Bag
Step 1 : Open the bag
Step 2: Take out your school diary
Step 3: See the Time Table
Step 4: Go to your bookshelf
Step 5: Take out the books and
notebooks
Step 6: Keep them in a bag
Step 7: Close the bag
Algorithm to calculate the sum and
average of three numbers.
Step 1: Read first Number(A)
Step 2: Read Second Number(B)
Step 3: Read third Number ( C )
Step 4: Find the sum of three
numbers(A+B+C)
Step 5: Find the Average(A+B+C)/3
Step 6: Display Average
Step 7: Stop
FLOWCHARTS
A Flowchart is a pictorial representation of steps or an
algorithm used for solving a particular problem. It uses boxes of different
shapes to denote different types of instructions. These boxes are connected
with arrow marks to indicate the flow of operation according to which the
instructions are to be executed.
Symbols used in a Flowchart: