Flowchart Notes
Flowchart Notes
Flow Charts
Why flowcharting?
Often the best way to understand a problem is to draw pictures. Pictures often provide
us with a more complete idea of the situation than a series of short word or phrases
can. However, pictures combined with text provide an extremely powerful tool for
communication and problem solving. Algorithms can be developed more quickly when a
flow chart is built to represent such an algorithm. Flowcharts need less effort to
understand then an algorithm.
What is a flowchart?
A flowchart is a graphical representation of the operations involved in a data processing
system.
Symbols are used to represent particular operations or data
Flow lines indicate the sequence of operations (Top to down sequence).
Connector
Process to be performed
Yes
No
-1- Aquilina K
Student Notes
Set counter to 0
Yes No
Apply Shampoo Is
Counter Add 1 to
Stop = 7?
Counter
Rinse Yes
exit
-2- Aquilina K
Student Notes
Problem: Find the total of two Problem: Find the average of two
numbers. numbers.
-3- Aquilina K
Student Notes
Problem: ________________________________
Explain what is happening in
this flowchart
_______________________________
_______________________________
_______________________________
_______________________________
_______________________________
_______________________________
_______________________________
_______________________________
_______________________________
_______________________________
_______________________________
_______________________________
_______________________________
_______________________________
_______________________________
_______________________________
_______________________________
_______________________________
_______________________________
_______________________________
-5- Aquilina K
Student Notes
Complete this
flowchart
-6- Aquilina K
Student Notes
Exercise:
1. Input the length L and the breadth B, calculate and output the area of a
rectangle.
2. User inputs radius and flowchart calculates and shows the area of a circle
3. Print the number from 1 to 100 (Hint: use a counter & loop)
4. Enter 20 marks and print their average.
5. Ask a person for a number between 1 and 100, ask again if they give you a
number outside that range
6. Input 40 marks. Count and print how many marks are below 50.
7. Input M and print the square of M if it is between 1 and 10.
8. Input a mark. Calculate and output a student's grade;
80 < A <= 100
60 < B <= 80
40 < C <= 60
0 <= U <= 40
-7- Aquilina K