How to create
a Flowchart.
What is a Flowchart?
A flowchart is a pictorial way of representing an
algorithm using a set of standard
symbols(shapes).
Information Technology for CSEC Examinations
3rd Edition Howard Campbell and Alan Wood
2
Flowchart
• Flowcharts use different • Operations are connected
symbols to represent Input, with arrows which serves as
Processing and Output flow lines.
operations.
Information Technology for
Information Technology for CSEC Examinations 3rd Edition
CSEC Examinations 3rd Edition Howard Campbell and Alan
Howard Campbell and Alan Wood
Wood
3
Flowcharts
It is important that the symbols are used as intended so
that the completed flowchart is clear to the
Flowcharts are usually drawn from top to bottom or left to programmers.
right.
Information Technology for CSEC Examinations 3rd
The flowcharts used in this lesson would be from top to
Edition Howard Campbell and Alan Wood
bottom.
Information Technology for CSEC Examinations 3rd Edition
Howard Campbell and Alan Wood
4
Flowchart symbols
Information Technology for CSEC Examinations 3 rd Edition Howard
Campbell and Alan Wood
CSEC Information Technology –A Guide To Problem-Solving and
Programming Prepared by P. Francis-Cobley
Just Click for the Caribbean 3 rd Edition Howard Lincoln, Alison Page Et
al.
https://press.rebus.community/programmingfundamentals/chapter/
flowcharts/#:~:text=A%20connector%20symbol%2C%20which
%20is,flowchart%20on%20a%20different%20page .
5
With a problem looked
at before
Let Us Create a
Flowchart
6
Problem -
Write a program accept the weights of
two people in pounds. It then
determines the total weight of the two
people. It then displays the Total Weight.
7
Problem -
Write a program accept the weights of two people
in pounds. It then determines the total weight of
the two people. It then displays the Total Weight.
8
When we are creating a
Flowchart we use the BODY of
the algorithm.
9
We then take each statement
from the BODY and use the
appropriate Shape.
Within the shape we insert the
statement.
10
Start
Start is the first statement so we
use the Terminator.
11
We then add a directional arrow.
Start
Read PerWeight1
Read PerWeight1 is the next statement
so we use the Parallelogram because this
is an input statement.
We then add a directional arrow.
Start
Read PerWeight1
Read PerWeight2
Read PerWeight2 is the next statement
so we use the Parallelogram because this
is an input statement.
We then add a directional arrow.
Start
Read PerWeight1
Read PerWeight2
TotalWeight PerWeight1 + PerWeight2
TotalWeight PerWeight1 + PerWeight2
is the next statement so we use the
Rectangle because this is a processing
statement.
We then add a directional arrow.
Start
Read PerWeight1
Read PerWeight2
TotalWeight PerWeight1 + PerWeight2
Print TotalWeight
Print TotalWeight is the next statement
so we use the Parallelogram because this
is an output statement.
We then add a directional arrow.
Start
Read PerWeight1
Read PerWeight2
TotalWeight PerWeight1 + PerWeight2
Print TotalWeight
Stop
Stop is the last statement so we use the
Terminator.
Activities
Activities
Assignment #1
Create a Flowchart for the following problem.
Problem #1-
Write a program that gets the length and the breadth of a room in feet. It then finds and displays the area
that needs to be carpeted.
23
Activities
Assignment #2
Create a Flowchart for the following problem.
Problem #2-
Write a program to accept the ages of three people, determine and print the average age of the three
people.
24
THE END