SlideShare a Scribd company logo
Chapter – 3 Flow Charts
Flow Charts  A diagrammatic representation that illustrates the sequence of operations to be performed to get the solution of a problem. Generally drawn in the early stages of formulating computer solutions.  Facilitate communication between programmers and business people/end users.  Once the flowchart is drawn, it becomes easy to write the program in any high level language.  Must for the better documentation of a complex program.
Flow  Charts A flow chart can be used to: Define and analyse processes.  Build a step-by-step picture of the process for analysis, discussion, or communication.  Define, standardise or find areas for improvement in a process.
Flow  Charts Symbols for drawing a flowchart : Start or End of the program
Input or output operation
Computational Steps or Processing Function of a program
Decision Making and Branching
Connector or joining of two parts of program
Magnetic Tape
Magnetic Disk
HYBRID For Display
Flow lines
Annotation (foot note)
Guidelines in flowcharting  -  In drawing a proper flowchart, all necessary requirements should be listed out in logical order.  The flowchart should be clear, neat and easy to follow. There should not be any room for ambiguity in understanding the flowchart.  The usual direction of the flow of a procedure or system is from left to right or top to bottom.
… Guidelines in flowcharting  -  Only one flow line should come out from a process symbol.    OR
… Guidelines in flowcharting  -  Only one flow line should enter a decision symbol, but two or three flow lines, one for each possible answer, should leave the decision symbol.
… Guidelines in flowcharting  – Only one flow line is used in conjunction with terminal symbol.  Start Stop/End
… Guidelines in flowcharting  – Write within standard symbols briefly. As necessary, you can use the annotation symbol to describe data or computational steps more clearly.  This is confidential data
… Guidelines in flowcharting  – In case of complex flowchart, it is better to use connector symbols to reduce the number of flow lines. Avoid the intersection of flow lines. Ensure that the flowchart has a logical  start  and  finish.   It is useful to test the validity of the flowchart by passing through it with a simple test data.
Advantages Of Using Flowcharts  : Communication:  Flowcharts are better way of communicating the logic of a system to all concerned. Effective analysis : With the help of flowchart, problem can be analyzed in more effective way. Proper documentation : Program flowcharts serve as a good program documentation, which is needed for various purposes. Efficient Coding:  The flowcharts act as a guide or blueprint during the systems analysis and program development phase. Proper Debugging:  The flowchart helps in debugging process. Efficient Program Maintenance : The maintenance of operating program becomes easy with the help of flowchart. It helps the programmer to put efforts more efficiently on that part
Limitations  of using Flowcharts : Complex logic:  Sometimes, the program logic is quite complicated.  Alterations and Modifications:  Alterations may require re-drawing completely.  Reproduction:  As the flowchart symbols cannot be typed, reproduction of flowchart becomes a problem.
Example - Add three numbers A program is required to  read  three numbers,  add  them together and  print  their total.
Defining diagram Input Processing Output Number 1 Number 2 Number 3 Read three numbers Add number together Print total number Total
Solution Add numbers to total Read Number1 Number2 number3 Print total Start Stop
Example 2. Draw a flowchart to find the sum of first 50 natural  numbers.
 
Example 3 Draw a flowchart to find the largest of three numbers A,B and C.
 
Example 4 Draw a flowchart for computing factorial of a given number
 
Assignment Fill in the blanks-   A program flowchart indicates the_________ to be performed and the __________ in which they occur.  A program flowchart is generally read from _____________ to ________________  Flowcharting symbols are connected together by means of ___________________  A decision symbol may be used in determining the ____________ or ___________ of two data items.  __________ are used to join remote portions of a flowchart  ____________ connectors are used when a flowchart ends on one page and begins again on other page  A ________ symbol is used at the beginning and end of a flowchart.  The flowchart is one of the best ways of ________ a program..  To construct a flowchart, one must adhere to prescribed symbols provided by the __________ .  The program uses a ____________ to aid it in drawing flowchart symbols.
Answers Operations, sequence  Top, down  Flow line  Equality, inequality  connectors  Off -page  Terminal  documenting  ANSI (American National Standards Institute)  Flowcharting template

More Related Content

PPTX
Introduction to flowchart
PPTX
Flow chart
PDF
Introduction to algorithms
PPTX
PDF
Lecture-1: Introduction to system integration and architecture - course overv...
PPTX
What is a flowchart
PDF
Flow Chart @ppsc(2)
PPTX
Algorithms and Flowcharts
Introduction to flowchart
Flow chart
Introduction to algorithms
Lecture-1: Introduction to system integration and architecture - course overv...
What is a flowchart
Flow Chart @ppsc(2)
Algorithms and Flowcharts

What's hot (20)

PPTX
Data structure and algorithm
PPT
Data Processing.ppt
PPTX
Chapter 6 algorithms and flow charts
PPT
Flowchart
PPT
Problem solving using Computer
PPT
Charts in EXCEL
PPT
use and create spreadsheet.ppt
PPTX
Intro to Excel Basics: Part I
PPTX
Algorithm and Flowcharts
PPT
Knowledge Representation & Reasoning
PPTX
Lesson 1 Excel Introduction
PDF
Process scheduling (CPU Scheduling)
PDF
Problem solving methodology
PPT
Introduction to Microsoft Excel for beginners
PPTX
Flowchart
PPTX
Excel for beginner
PPT
Microsoft Word
PDF
Process & Thread Management
PPSX
Requirement Elicitation Techniques
PPT
Algorithms and flowcharts ppt (seminar presentation)..
Data structure and algorithm
Data Processing.ppt
Chapter 6 algorithms and flow charts
Flowchart
Problem solving using Computer
Charts in EXCEL
use and create spreadsheet.ppt
Intro to Excel Basics: Part I
Algorithm and Flowcharts
Knowledge Representation & Reasoning
Lesson 1 Excel Introduction
Process scheduling (CPU Scheduling)
Problem solving methodology
Introduction to Microsoft Excel for beginners
Flowchart
Excel for beginner
Microsoft Word
Process & Thread Management
Requirement Elicitation Techniques
Algorithms and flowcharts ppt (seminar presentation)..
Ad

Viewers also liked (20)

PPT
Flow charts
PPT
Lecture 4
PDF
Flow chart powerpoint presentation slides ppt templates
PPT
Flowchart
PPTX
Algorithm and flowchart
PPTX
Flow Chart Guide PPT
PPT
Presentation on diagram and flowchart
PDF
Writing algorithms
PPTX
Flowchart and algorithm
PPTX
Algorithm and flowchart2010
PPTX
Pseudocode flowcharts
PPTX
Flow chart
PPT
Algorithmsandflowcharts1
PPTX
Flowcharts
PPTX
Flowchart Diagram Templates by Creately
PPTX
ppt of flowchart
PDF
Flowchart Power Point
PDF
Flowchart pseudocode-examples
PDF
Business power point templates linear flow six phases diagram free sales ppt ...
PPT
Cpgp day01-session 5 - drawing a process flow diagram 2012 final
Flow charts
Lecture 4
Flow chart powerpoint presentation slides ppt templates
Flowchart
Algorithm and flowchart
Flow Chart Guide PPT
Presentation on diagram and flowchart
Writing algorithms
Flowchart and algorithm
Algorithm and flowchart2010
Pseudocode flowcharts
Flow chart
Algorithmsandflowcharts1
Flowcharts
Flowchart Diagram Templates by Creately
ppt of flowchart
Flowchart Power Point
Flowchart pseudocode-examples
Business power point templates linear flow six phases diagram free sales ppt ...
Cpgp day01-session 5 - drawing a process flow diagram 2012 final
Ad

Similar to Chap3 flow charts (20)

PDF
Flow charts
PPT
aamir presentation
DOC
Flowcharts
PPTX
1141_237_747_Module_1_3_process_modelling_and-simulation.pptx
PDF
C Programming Unit I Notes Sharad Institute
DOC
Flow charts
PPTX
3-1S Learning Presentation for PT's.pptx
PPTX
Fundamentals of-algorithm
PPTX
Flowcharts
DOC
Assignment on diagram and flowchart 1
PPTX
Prepare and Interpret Technical Drawing.pptx
PPTX
Programming flowcharts for C Language
PPT
PPTX
Software Development Technique (Flowchart & Documentation).pptx
PPTX
Pseudocode-Flowchart
PPT
Basics of Programming Algorithms and Flowchart
PPTX
Pseudo code.pptx
PDF
cpuppt-150726134330-lva1-app6891.pdf
PPTX
ppt on flow chart by harshid panchal with help of Sejal ma'm (git.org.in)
PDF
Examplelf flowchart
Flow charts
aamir presentation
Flowcharts
1141_237_747_Module_1_3_process_modelling_and-simulation.pptx
C Programming Unit I Notes Sharad Institute
Flow charts
3-1S Learning Presentation for PT's.pptx
Fundamentals of-algorithm
Flowcharts
Assignment on diagram and flowchart 1
Prepare and Interpret Technical Drawing.pptx
Programming flowcharts for C Language
Software Development Technique (Flowchart & Documentation).pptx
Pseudocode-Flowchart
Basics of Programming Algorithms and Flowchart
Pseudo code.pptx
cpuppt-150726134330-lva1-app6891.pdf
ppt on flow chart by harshid panchal with help of Sejal ma'm (git.org.in)
Examplelf flowchart

Recently uploaded (20)

PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
RMMM.pdf make it easy to upload and study
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Basic Mud Logging Guide for educational purpose
Final Presentation General Medicine 03-08-2024.pptx
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
RMMM.pdf make it easy to upload and study
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Supply Chain Operations Speaking Notes -ICLT Program
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
human mycosis Human fungal infections are called human mycosis..pptx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPH.pptx obstetrics and gynecology in nursing
O7-L3 Supply Chain Operations - ICLT Program
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
Module 4: Burden of Disease Tutorial Slides S2 2025
Week 4 Term 3 Study Techniques revisited.pptx
Anesthesia in Laparoscopic Surgery in India
Basic Mud Logging Guide for educational purpose

Chap3 flow charts

  • 1. Chapter – 3 Flow Charts
  • 2. Flow Charts A diagrammatic representation that illustrates the sequence of operations to be performed to get the solution of a problem. Generally drawn in the early stages of formulating computer solutions. Facilitate communication between programmers and business people/end users. Once the flowchart is drawn, it becomes easy to write the program in any high level language. Must for the better documentation of a complex program.
  • 3. Flow Charts A flow chart can be used to: Define and analyse processes. Build a step-by-step picture of the process for analysis, discussion, or communication. Define, standardise or find areas for improvement in a process.
  • 4. Flow Charts Symbols for drawing a flowchart : Start or End of the program
  • 5. Input or output operation
  • 6. Computational Steps or Processing Function of a program
  • 8. Connector or joining of two parts of program
  • 14. Guidelines in flowcharting - In drawing a proper flowchart, all necessary requirements should be listed out in logical order. The flowchart should be clear, neat and easy to follow. There should not be any room for ambiguity in understanding the flowchart. The usual direction of the flow of a procedure or system is from left to right or top to bottom.
  • 15. … Guidelines in flowcharting - Only one flow line should come out from a process symbol. OR
  • 16. … Guidelines in flowcharting - Only one flow line should enter a decision symbol, but two or three flow lines, one for each possible answer, should leave the decision symbol.
  • 17. … Guidelines in flowcharting – Only one flow line is used in conjunction with terminal symbol. Start Stop/End
  • 18. … Guidelines in flowcharting – Write within standard symbols briefly. As necessary, you can use the annotation symbol to describe data or computational steps more clearly. This is confidential data
  • 19. … Guidelines in flowcharting – In case of complex flowchart, it is better to use connector symbols to reduce the number of flow lines. Avoid the intersection of flow lines. Ensure that the flowchart has a logical start and finish. It is useful to test the validity of the flowchart by passing through it with a simple test data.
  • 20. Advantages Of Using Flowcharts : Communication: Flowcharts are better way of communicating the logic of a system to all concerned. Effective analysis : With the help of flowchart, problem can be analyzed in more effective way. Proper documentation : Program flowcharts serve as a good program documentation, which is needed for various purposes. Efficient Coding: The flowcharts act as a guide or blueprint during the systems analysis and program development phase. Proper Debugging: The flowchart helps in debugging process. Efficient Program Maintenance : The maintenance of operating program becomes easy with the help of flowchart. It helps the programmer to put efforts more efficiently on that part
  • 21. Limitations of using Flowcharts : Complex logic: Sometimes, the program logic is quite complicated. Alterations and Modifications: Alterations may require re-drawing completely. Reproduction: As the flowchart symbols cannot be typed, reproduction of flowchart becomes a problem.
  • 22. Example - Add three numbers A program is required to read three numbers, add them together and print their total.
  • 23. Defining diagram Input Processing Output Number 1 Number 2 Number 3 Read three numbers Add number together Print total number Total
  • 24. Solution Add numbers to total Read Number1 Number2 number3 Print total Start Stop
  • 25. Example 2. Draw a flowchart to find the sum of first 50 natural numbers.
  • 26.  
  • 27. Example 3 Draw a flowchart to find the largest of three numbers A,B and C.
  • 28.  
  • 29. Example 4 Draw a flowchart for computing factorial of a given number
  • 30.  
  • 31. Assignment Fill in the blanks- A program flowchart indicates the_________ to be performed and the __________ in which they occur. A program flowchart is generally read from _____________ to ________________ Flowcharting symbols are connected together by means of ___________________ A decision symbol may be used in determining the ____________ or ___________ of two data items. __________ are used to join remote portions of a flowchart ____________ connectors are used when a flowchart ends on one page and begins again on other page A ________ symbol is used at the beginning and end of a flowchart. The flowchart is one of the best ways of ________ a program.. To construct a flowchart, one must adhere to prescribed symbols provided by the __________ . The program uses a ____________ to aid it in drawing flowchart symbols.
  • 32. Answers Operations, sequence Top, down Flow line Equality, inequality connectors Off -page Terminal documenting ANSI (American National Standards Institute) Flowcharting template