Flow Chart
Flow Chart
OBJECTIVES
INTRODUCTION
What is Algorithm?
Algorithm can be defined as: “A sequence
of activities to be processed for getting
desired output from a given input.”
ALGORITHM AND FLOW CHART
What is Algorithm?
Webopedia defines an algorithm as:
“A formula or set of steps for solving a
particularproblem. To be an algorithm,
a set of
rules must be unambiguous and have a clear
stopping point”.
FLOWCHART
FLOWCHART
The flowchart is a diagram which visually pres
ents the flow of data through processing
systems. This means by seeing a flow chart on
e can know the operations performed and
the sequence of these operations in a system.
Algorithms are nothing but sequence of
steps for solving problems. So a flow chart can
be used for representing an algorithm. A
flowchart, will describe the operations
(and in what sequence) are required
to solve a given problem.
FLOWCHART
A flowchart is a type of diagram that
represents an algorithm, workflow or
process. The flowchart shows the steps as
boxes of various kinds, and their order by
connecting the boxes with arrows. This
diagrammatic representation illustrates a
solution model to a given problem.
Flowcharts are used in analyzing,
designing, documenting or managing a
process or program in various fields.
BUILDING BLOCKS
OF
FLOW CHART
OR
COMMON SYMBOLS
OF
FLOW CHART
BUILDING BLOCKS OF FLOW CHART
ANSI/ISO
Name Description
Shape
Shows the process's order of
operation. A line coming from
one symbol and pointing at
Flowline
another. Arrowheads are
(Arrowhead)
added if the flow is not the
standard top-to-bottom, left-
to right.
BUILDING BLOCKS OF FLOW CHART
ANSI/ISO
Name Description
Shape
Indicates the beginning and ending
of a program or sub-process.
Represented as a stadium, oval or
rounded (fillet) rectangle. They
Terminal usually contain the word "Start" or
"End", or another phrase signaling
the start or end of a process, such as
"submit inquiry" or "receive
product".
BUILDING BLOCKS OF FLOW CHART
ANSI/ISO
Name Description
Shape
Represents a set of operations that
Process changes value, form, or location of
data. Represented as a rectangle
BUILDING BLOCKS OF FLOW CHART
ANSI/ISO
Name Description
Shape
Shows a conditional operation that
determines which one of the two
paths the program will take. The
Decision operation is commonly a yes/no
question or true/false test.
Represented as a diamond
(rhombus).
BUILDING BLOCKS OF FLOW CHART
ANSI/ISO
Name Description
Shape
Indicates the process of inputting
Input /
and outputting data, as in entering
data or displaying results.
Output
Represented as a parallelogram
BUILDING BLOCKS OF FLOW CHART
ANSI/ISO
Name Description
Shape
Indicating additional
information about a step the
Annotation program. Represented as an
open rectangle with a dashed
(Comment) or solid line connecting it to
the corresponding symbol in
the flowchart.
BUILDING BLOCKS OF FLOW CHART
ANSI/ISO
Name Description
Shape
Shows named process
Predefined /Function which is defined
Process
elsewhere. Represented as
Functions a rectangle with double-
struck vertical edges.
BUILDING BLOCKS OF FLOW CHART
ANSI/ISO
Name Description
Shape
Pairs of labelled connectors
replace long or confusing
On-page
Connector
lines on a flowchart page.
Represented by a small
circle with a letter inside.
BUILDING BLOCKS OF FLOW CHART
ANSI/ISO
Name Description
Shape
A labelled connector for
use when the target is on
Off-page
Connector
another page. Represented
as a home plate-
shaped pentagon.
BUILDING BLOCKS OF FLOW CHART
ANSI/ISO
Name Description
Shape
Storage/ Magnetic Tape used for sec
Backup ondary storage/Backup
BUILDING BLOCKS OF FLOW CHART
ANSI/ISO
Name Description
Shape
Storage/ Magnetic Disk used for sec
Backup ondary storage/Backup
ADVANTAGES OF USING FLOWCHARTS
As we discussed flow chart is used for
representing algorithm in pictorial form.
This pictorial representation of a
solution/system is having many
advantages. These advantages are as
follows:
1.COMMUNICATION.
2.EFFECTIVE ANALYSIS.
3.DOCUMENTATION OF PROGRAM/SYSTEM.
4.EFFICIENT PROGRAM MAINTENANCE.
5.CODING OF THE PROGRAM.
ADVANTAGES OF USING FLOWCHARTS
1.COMMUNICATION:
1. Define Algorithm.
2. Define Flowchart.