Flow Chart
Flow Chart Symbols:
1. Start or Stop Box
Purpose:
Used at the beginning and at the end of the flow chart.
This box indicates start and end of the program.
Example:
Start End
2. Process Box
Purpose:
Used to indicate process, actions or calculations.
Also used for assigning the data.
Example:
A=2+3 OR B = 10
3. Input or Output Box
Purpose:
Used to indicate input or output of a program.
Example:
Input A Means the data will be typed from the keyboard.
Output B Means display the value of B
4. Decision Box Yes
No
Purpose:
Indicates a decision. Means when one needs to choose between options
or the condition of Yes and No.
Example:
Yes
Is
A=5+6
5<6
No
A=6–5
If 5 is less than 6 then Yes condition is performed.
If 5 is not less than 6 then No condition will fulfilled.
5. Flow Lines
Purpose:
Used to connect the flow chart symbols.
It shows the flow of logic in a flow chart.
Example:
Start
A=2+3
Output A
End
Points to Remember:
Wrong Way for drawing the Correct Way for drawing the
Flowchart Symbols Flowchart Symbols
Start Start
A=2+3 A=2+3
End End
Input A Input A
End End
A=2+3 A=2+3
Start Start
A=2+3 A=2+3
Output B Output A
End End
B is not used in the flowchart so If A is written in capital then
output B is wrong. throughout the flowchart where ever
A is use always write it in capital.
Example # 1:
Find the Perimeter of a Circle. [Hint: Perimeter of a Circle = 2 𝝅 𝒓𝟐 ]
Start
Input r
Perimeter = 2 * 3.14 * r2
Output
Perimeter
End
r represents radius of a circle. If in the question radius value is not given
then input box is used. i.e., Input r
If the value of r is given then process box is used i.e., r = 10
According to the formula, r is always written in lower case that’s why you
will find lower case r in the flowchart.
* (asterisk symbol) is used as multiplication operator in computer
programs.
The value of 𝝅 (pi) is always 3.14
Example # 2:
Draw a flow chart to find the first ten Even numbers.
[Hint: First Ten Even Numbers are 2, 4, 6, 8, 10, 12, 14, 16, 18, 20]
Start
E=2
If
Yes
E <= 20
Output
E
No
End
E=E+2
E means Even number. You can write any letter instead of E.
E = 2 because first even number is 2.
In decision box E is compare with 20 because the tenth even number
is 20.
If E is less than or equals to 20, then value of E will display. (Means
Yes Condition is fulfilled).
After displaying E, there will be an increment in E with 2 to obtain the
next number.
If E is greater than 20, then program will be stop. (Means No
Condition is fulfilled).