flowcharts
DESCRIPTION
TRANSCRIPT
PRESENTATIOPRESENTATION ON N ON
FLOWCHARTSFLOWCHARTS
PRESENTATIOPRESENTATION ON N ON
FLOWCHARTSFLOWCHARTSMade by:Made by:
Simranjit SinghSimranjit Singh
CSE-2CSE-2ndnd Shift Shift
115360115360
FLOW CHART• An flow chart is a type of diagram
that represents an algorithm or process, showing the steps as boxes of various kinds and their order by connecting these with arrows.
USES….• Flow chart are used in designing
and documenting complex processes.
• Like other types of diagrams, they help to visualize what is going on and thereby help the viewer to understand the process.
TYPES…• Document flowcharts, showing
control over a document-flow over a system.
• Data flowcharts, showing control over a data-flow in a system.
• System flowcharts showing control at a physical or resource level.
• Program flowchart, showing the controls in a program within a system.
Flowchart Symbols…
Oval
Parallelogram
Rectangle
Diamond
Hybrid
Name Symbol Use in Flowchart
Denotes the beginning or end of the program
Denotes an input operation
Denotes an output operation
Denotes a decision (or branch) to be made. The program should continue along one of two routes. (e.g. IF/THEN/ELSE)
Denotes a process to be carried oute.g. addition, subtraction, division etc.
Flow line Denotes the direction of logic flow in the program
SYMBOLS• TERMINATOR: An oval flowchart shape indicating
the start or end of the process.• PROCESS: An rectangular flowchart shape
indicating a normal process flow step.• DECISION: A diamond flow chart shape indication
a branch in the process flow.• CONNECTOR: A small, labeled circular flow chart
shape used to indicate a jump in the process flow.• DATA: A parallelogram that indicates data input or
output ( I/O) for the process.• DOCUMENT: Used to indicate a document or
report.
DATA FLOW EXTENSIONS…
• A document represented as a rectangle with a wavy base.
• A manual input represented by a quadrilateral.
• A data file represented by a cylinder.
• A manual operation represented by a trapezoid.
ADVANTAGES…• COMMUNICATION.
• EFFECTIVE ANALYSIS.
• PROPER DOCUMENTATION.
• EFFICIENT CODING.
• PROPER DEBUGGING.
LIMITATIONS…• COMPLEX LOGIC.
• ALTERATIONS AND MODIFICATIONS.
• THE ESSENTIALS OF WHAT IS DONE CAN EASILY BE LOST IN THE TECHNICAL DETAILS OF HOW IT IS DONE.
LAMP FLOWCHART…
A flowchart representing for
computing factorial…
Flow chart showing driving to a goal…
Flow chart for finding out the
largest of 3 numbers…
Flowchart to find the sum of first 50
natural numbers…
Example…
PRINT“PASS”
Step 1: Input M1,M2,M3,M4Step 2: GRADE (M1+M2+M3+M4)/4 Step 3: if (GRADE <50) then
Print “FAIL” else
Print “PASS” endif
START
InputM1,M2,M3,M4
GRADE(M1+M2+M3+M4)/4
ISGRADE<50
PRINT“FAIL”
STOP
YN
EXAMPLE…
EXAMPLE…
Thanks A lot Thanks A lot For WatchingFor WatchingThanks A lot Thanks A lot For WatchingFor Watching06/03/201206/03/2012