Algorithm and Flow Chart Ss2
Algorithm and Flow Chart Ss2
Algorithm and flowchart are two types of tools to explain the process of a program. Algorithms and
flowcharts are two different tools used for creating new programs, especially in computer
programming. An algorithm is a step-by-step analysis of the process, while a flowchart explains the
steps of a program in a graphical way.
Definition of Algorithm
To write a logical step-by-step method to solve the problem is called algorithm, in other words, an
algorithm is a procedure for solving problems. In order to solve a mathematical or computer problem,
this is the first step of the procedure. An algorithm includes calculations, reasoning and data
processing. Algorithms can be presented by natural languages, pseudo code and flowcharts, etc.
Definition of Flowchart
A flowchart is the graphical or pictorial
representation of an algorithm with the help
of different symbols, shapes and arrows in
order to demonstrate a process or a
program. With algorithms, we can easily
understand a program. The main purpose of
a flowchart is to analyze different processes.
Several standard graphics are applied in a
flowchart:
Flowchart symbols, Name and Functions
Algorithms are mainly used for mathematical and computer programs, whilst flowcharts can be used
to describe all sorts of processes: business, educational, personal and of course algorithms. So
flowcharts are often used as a program planning tool to visually organize the step-by-step process of
a program. Here are some examples:
Flowchart representation:
ASSIGNMENT
1. Draw a flowchart to calculate area of a triangle
2. List any 4 characteristics of the flowchart as started in your lesson note