Flowchart

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

START

Check
Time

FLOWCHART No Before 10
AM?
Yes

Engr. Hiroyoshi Arai


Take Taxi Take Bus

END
What is a flowchart?
•A flowchart is simply a graphical representation of steps.

•It was originated from computer science as a tool for representing


algorithms and programming logic but had extended to use in all
other kinds of processes.

•Typically, a flowchart shows the steps as boxes of various kinds,


and their order by connecting them with arrows.

•Flowcharts play an extremely important role in displaying


information and assisting reasoning.
Flowchart Symbols

Terminator
start/end

•Rounded Side or Pill Shape

•This symbol represents the start or end point of the system.


Flowchart Symbols

Process
x=5+8

•Rectangle Shape

•This symbol represents a process, action step, or operation.


Flowchart Symbols

Data(I/O)
Print “Hello world”

•Parallelogram Shape

•This symbol represents an input or the output of the process.


Flowchart Symbols

Decision
is x > y?

•Diamond Shape

•This symbol represents a question in the process.

•Usually has two arrows coming out of it to answer Yes or No.


Flowchart Symbols

On-Page
Connector

•Circle Shape

•This symbol indicates that the flow continues on a matching symbol


containing the same letter somewhere else on the same page.
Flowchart Symbols
Off-Page
Connector

•Pentagon with two 90 degree angle shape.

•This symbol indicates that the flow continues on a matching symbol


containing the same letter somewhere else on a different page.
Flowchart Symbols
Flowchart Example

Input a number
START in Celsius

Print Fahrenheit
F = C * ( 9 / 5 ) + 32
value END
Flowchart Example
Input an integer
START varNum
varAns = varNum % 2 A

Yes
Is varAns
A equal to 0?
Print “Even”

No

Print “Odd” END


Flowchart Example

START Add one to varCounter


varCounter++

Yes

Print Is varCounter
varCounter = 0
varCounter = 5?

No

END

You might also like