18
PRESENTATION PRESENTATION ON FLOWCHARTS ON FLOWCHARTS Made by: Made by: Simranjit Singh Simranjit Singh CSE-2 CSE-2 nd nd Shift Shift 115360 115360

Flowcharts

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Flowcharts

PRESENTATIOPRESENTATION ON N ON

FLOWCHARTSFLOWCHARTS

PRESENTATIOPRESENTATION ON N ON

FLOWCHARTSFLOWCHARTSMade by:Made by:

Simranjit SinghSimranjit Singh

CSE-2CSE-2ndnd Shift Shift

115360115360

Page 2: Flowcharts

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.

Page 3: Flowcharts

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.

Page 4: Flowcharts

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.

Page 5: Flowcharts

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

Page 6: Flowcharts

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.

Page 7: Flowcharts

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.

Page 8: Flowcharts

ADVANTAGES…• COMMUNICATION.

• EFFECTIVE ANALYSIS.

• PROPER DOCUMENTATION.

• EFFICIENT CODING.

• PROPER DEBUGGING.

Page 9: Flowcharts

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.

Page 10: Flowcharts

LAMP FLOWCHART…

Page 11: Flowcharts

A flowchart representing for

computing factorial…

Page 12: Flowcharts

Flow chart showing driving to a goal…

Page 13: Flowcharts

Flow chart for finding out the

largest of 3 numbers…

Page 14: Flowcharts

Flowchart to find the sum of first 50

natural numbers…

Page 15: Flowcharts

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

Page 16: Flowcharts

EXAMPLE…

Page 17: Flowcharts

EXAMPLE…

Page 18: Flowcharts

Thanks A lot Thanks A lot For WatchingFor WatchingThanks A lot Thanks A lot For WatchingFor Watching06/03/201206/03/2012