0% found this document useful (0 votes)
292 views19 pages

Flowcharts Intro

Flowcharts are graphical representations of steps in a process or program using basic geometric shapes and arrows. They depict the logical flow and relationships between processes and data using standard symbols like rectangles for processes, diamonds for decisions, ovals for start/stop, and arrows showing the flow. An example flowchart is given that shows the steps to calculate interest on a bank deposit.

Uploaded by

vickyverma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
292 views19 pages

Flowcharts Intro

Flowcharts are graphical representations of steps in a process or program using basic geometric shapes and arrows. They depict the logical flow and relationships between processes and data using standard symbols like rectangles for processes, diamonds for decisions, ovals for start/stop, and arrows showing the flow. An example flowchart is given that shows the steps to calculate interest on a bank deposit.

Uploaded by

vickyverma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 19

FLOWCHARTS

Flowcharts are graphical representation of steps.


Flowchart is a diagrammatic representation of
sequence of logical steps of a program. Flowcharts
use simple geometric shapes to depict processes and
arrows to show relationships and process/data flow.
Flowchart Symbols
Used at the beginning and end of the
Start/Stop algorithm to show start and end of the
program.

Process Indicates processes like mathematical


operations

Decision Stands for decision statements in a program,


where answer is usually Yes or No.
Input/ Output
Used for denoting program inputs and outputs.

On-page Connector
Connects two or more parts of a flowchart,
which are on the same page.

Arrow or flow lines

Lines represent flow of the sequence and


direction of a process.
Guidelines for Developing Flowcharts
•Flowchart can have only one start and one stop
symbol

•On-page connectors are referenced using numbers

•Off-page connectors are referenced using


alphabets

•General flow of processes is top to bottom or left


to right

•Arrows should not cross each other


Example Flowcharts
Flowchart Example – Simple
Algorithms
Here is an example that shows how flowchart can be used in showing a simple
summation process.
Flowchart Example – Calculate Profit and Loss
Draw a flowchart to add two numbers
entered by user.
Draw a flowchart to log in to facebook
account
Example 1: Calculate the Interest of a
Bank Deposit
Algorithm:
Step 1: Read amount,
Step 2: Read years,
Step 3: Read rate,
Step 4: Calculate the interest with
formula :
Interest=Amount*Years*Rate/100
Step 5: Print interest,
Determine and Output Whether
Number N is Even or Odd
Algorithm:
Step 1: Read number N,
Step 2: Set remainder as N modulo 2,
Step 3: If remainder is equal to 0 then
number N is even, else number N is odd,
Step 4: Print output.
Determine Whether a Temperature is
Below or Above the Freezing Point
Algorithm:
Step 1: Input temperature,
Step 2: If it is less than 32, then print
"below freezing point", otherwise print
"above freezing point"
Determine Whether A Student Passed the
Exam or Not:
Algorithm:
Step 1: Input grades of 4 courses M1, M2,
M3 and M4,
Step 2: Calculate the average grade with
formula "Grade=(M1+M2+M3+M4)/4"
Step 3: If the average grade is less than 60,
print "FAIL", else print "PASS".

You might also like