SlideShare a Scribd company logo
1 of 3
Introduction to flowcharting
As it was discussed earlier that the computer has no imagination or thinking of its own, every logic or task
that has to be performed to the computer is detailed. For this purpose, we have to give some instructions
to the computer that is called programming.

Programming process:-
The set of detailed instructions which group the data processing activities together that are to be
performed by a computer is called programs. The computer programming process is the collection of
these six phases.
    1. Program Analysis: Before making programs, the analysis of the system is done. This includes the
        inputs that are to be taken, the processing and the outputs that are to be generated. In this phase, it
        is also checked that if the program worth making.
    2. Program Design: In this phase; the program layout is prepared by the system analyst and
        provided to the programmer. This is done using flowcharts that shows the flow of data, documents
        etc. very clearly.
    3. Program Coding: In this phase, the implementation of flowchart is done using any programming
        language. For each language, there are separate set of instructions with their respective syntax.
        Program coding is done in a way that these three objectives are achieved:- simplicity, efficient
        utilization of storage and least processing time.
    4. Program debugging: After completion of program coding, it is compiled and run. During this
        process, only few errors can be traced. After elimination of these errors, the program is put to use
        in real necessity. The logical errors (bugs) that arise now are to be removed and this process is
        known as debugging.
    5. Program documentation: Program documentation is done to provide explanation to the end user.
        This includes:-
             • Program specification
             • Program description
             • The test data that is employed in debugging the program.
             • The operation manual that lists operating instructions for the operator.
             • The maintenance documentation that is required to the person who has to make the
                 necessary changes to the program.
    6. Program Maintenance: the changes are constantly required in a business system and hence the
        program is also required to be changed. For this, separate programmers are required that are
        known as maintenance programmers. Because of this purpose the programs that ire written should
        be simple and self explanatory.
Types of Flow charts:-
   1. System outline chart: These charts mainly list the broad aspects of an application like structure,
      inputs, types of files to processed without regard to any sequence of flow. In these charts we
      mainly outline the work to be done in an application.
   2. System flow chart: These charts represent the logical flow of all aspects of the data processing
      system in graphical manner. Like in complete application of sales department, to display the
      logical flow of sales order processing systems and its interlinking with other application, a systems
      flow chart is prepared.
   3. Run flow chart: Since the system flowchart is a collection of several processes, the run flow chart
      in fact represents the future detailing of any particular process of system flow chart.
   4. Program flow chart: These flow charts are the most detailed flow charts and are concerned with
      actual logical/arithmetic operations on data within CPU & for flow of data to various devices
      within application. These flow charts are normally directly converted into programs with the help
of statements. These flow charts are normally prepared by programmer for graphical solution of
        any arithmetic and logical problems.
Here, mainly we have concern with program flowchart for solving the problem. As we saw that
flowcharting is the part of program design and programs design phase comes after program analysis,
hence to dray any flowchart we should first of all do the analysis of the problem for which we want to
draw the flowchart. i.e. the input required and the processing that has to be applied to get the desired
output.

Flowchart
Definition: Flow charts can be defined as pictorial representations of an algorithm by system analysts for
planning the procedure to solve a program. The diagram includes the flow of process, relevant operations
and computations, point of decision and other information which is a part of solution.
Algorithm: It is a step-by-step problem solving procedure that can be carried out by a computer. Its main
features include:
    1. It should be simple
    2. It should be clear
    3. It should lead to a unique solution to a problem.
    4. It should have finite number of steps to arrive to a solution.

                                                    Symbols used in a flow charts:-

                                                    Start/stop Box
                                                    Represents the beginning or the end of a flow chart


                                                    Input/ Output Box
                                                    Represents to accept the input from the user and
                                                    display the output on the respective devices


                                                    Processing Box
                                                    Represents the processing on variables input by the
                                                    user


                                                    Decision Box
                                                    Used for checking the condition and proceeding,
                                                    based on the value that is returned by the comparison
of                                                  the condition either True or False.


                                                    Flow Lines
                                                    Represents the flow of controls from one process to
                                                    another

           A         B                              Connectors
                                                    These are used to join two different processes
                                                    together.
General guidelines to prepare Flowcharts:-
  1. Listing all requirements in proper logical order and in detail.
  2. Must be maid clear, neat and easy to fallow in order to have a good visual impact.
  3. Use appropriate standard flowcharting symbols.
  4. Make comparison instructions simple. Yes/No type.
  5. Avoid intersections of lines, used to depict the flow of logic.
  6. Use connectors to reduce the number of flow lines. Connector’s are useful where the flow charts
     are several pages long.
  7. Check that the flowchart is logically correct and complete. This process is technically known as
     debugging and is done by using suitable test data.

Advantages of using flowcharts:-
  1. Communication: flowcharts are a good visual aid for communicating the logic of a system, to all
     concerned.
  2. Quicker group of relationship: with the help of flowcharts, the relationship between the procedures
     can be identified and understood easily.
  3. Effective analysis and synthesis: before programming a new system, the analysis is done
     effectively using flowcharts. In a running system program, flowchart may be used to combine old
     approaches with the new logics.
  4. Efficient coding: with the help of flow chart the program logic can be implemented in any
     programming language for building up a new system.
  5. Orderly debugging: the flowchart also helps in debugging process i.e. it helps in detecting,
     locating and removing mistakes.

Limitations of Flowcharts:-
  1. Complex Logic: When the program logic is complex, the flowcharts become lengthy and lack
     clarity in decision table.
  2. Alteration and Modification: If alterations are required, the flowchart may require re-drawing
     completely.
  3. Reproduction: As flowchart symbols cannot be typed, reproduction of flowchart is often a
     problem.
  4. Standardization: Though program flowcharts are easy to follow, they are neither expressed
     completely in English, nor ere they translated in programming languages.

More Related Content

What's hot

Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer   Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer Ashim Lamichhane
 
SPL 2 | Algorithms, Pseudo-code, and Flowchart
SPL 2 | Algorithms, Pseudo-code, and FlowchartSPL 2 | Algorithms, Pseudo-code, and Flowchart
SPL 2 | Algorithms, Pseudo-code, and FlowchartMohammad Imam Hossain
 
Algorithm Design & Implementation
Algorithm Design & ImplementationAlgorithm Design & Implementation
Algorithm Design & ImplementationGaditek
 
What is programming what are its benefits
What is programming  what are its benefits What is programming  what are its benefits
What is programming what are its benefits Vijay Singh Khatri
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchartRabin BK
 
Computer Organization and Assembly Language
Computer Organization and Assembly LanguageComputer Organization and Assembly Language
Computer Organization and Assembly Languagefasihuddin90
 
structured programming
structured programmingstructured programming
structured programmingAhmad54321
 
Linker and Loader Explained
Linker and Loader  ExplainedLinker and Loader  Explained
Linker and Loader ExplainedAdarsh Kr Sinha
 
introduction computer programming languages
introduction computer programming languages introduction computer programming languages
introduction computer programming languages BakhatAli3
 
basics of compiler design
basics of compiler designbasics of compiler design
basics of compiler designPreeti Katiyar
 
Chap3 flow charts
Chap3 flow chartsChap3 flow charts
Chap3 flow chartsamit139
 
COMPILER DESIGN OPTIONS
COMPILER DESIGN OPTIONSCOMPILER DESIGN OPTIONS
COMPILER DESIGN OPTIONSsonalikharade3
 
Microsoft Office Application (Word, Power Point, Excel)
Microsoft Office Application (Word, Power Point, Excel)Microsoft Office Application (Word, Power Point, Excel)
Microsoft Office Application (Word, Power Point, Excel)ACLC Antipolo
 
Algorithmic problem sloving
Algorithmic problem slovingAlgorithmic problem sloving
Algorithmic problem slovingMani Kandan
 

What's hot (20)

Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer   Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer
 
SPL 2 | Algorithms, Pseudo-code, and Flowchart
SPL 2 | Algorithms, Pseudo-code, and FlowchartSPL 2 | Algorithms, Pseudo-code, and Flowchart
SPL 2 | Algorithms, Pseudo-code, and Flowchart
 
Algorithm Design & Implementation
Algorithm Design & ImplementationAlgorithm Design & Implementation
Algorithm Design & Implementation
 
Compilers
CompilersCompilers
Compilers
 
What is programming what are its benefits
What is programming  what are its benefits What is programming  what are its benefits
What is programming what are its benefits
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
 
Computer Organization and Assembly Language
Computer Organization and Assembly LanguageComputer Organization and Assembly Language
Computer Organization and Assembly Language
 
structured programming
structured programmingstructured programming
structured programming
 
Linker and Loader Explained
Linker and Loader  ExplainedLinker and Loader  Explained
Linker and Loader Explained
 
introduction computer programming languages
introduction computer programming languages introduction computer programming languages
introduction computer programming languages
 
Programming in c
Programming in cProgramming in c
Programming in c
 
basics of compiler design
basics of compiler designbasics of compiler design
basics of compiler design
 
Chap3 flow charts
Chap3 flow chartsChap3 flow charts
Chap3 flow charts
 
Spreadsheet
SpreadsheetSpreadsheet
Spreadsheet
 
Graphical programming
Graphical programmingGraphical programming
Graphical programming
 
COMPILER DESIGN OPTIONS
COMPILER DESIGN OPTIONSCOMPILER DESIGN OPTIONS
COMPILER DESIGN OPTIONS
 
Translators(Compiler, Assembler) and interpreter
Translators(Compiler, Assembler) and interpreterTranslators(Compiler, Assembler) and interpreter
Translators(Compiler, Assembler) and interpreter
 
Computer Programming - Lecture 1
Computer Programming - Lecture 1Computer Programming - Lecture 1
Computer Programming - Lecture 1
 
Microsoft Office Application (Word, Power Point, Excel)
Microsoft Office Application (Word, Power Point, Excel)Microsoft Office Application (Word, Power Point, Excel)
Microsoft Office Application (Word, Power Point, Excel)
 
Algorithmic problem sloving
Algorithmic problem slovingAlgorithmic problem sloving
Algorithmic problem sloving
 

Viewers also liked

System Analysis and Design
System Analysis and DesignSystem Analysis and Design
System Analysis and DesignAamir Abbas
 
Types of Data Validation
Types of Data ValidationTypes of Data Validation
Types of Data ValidationMetric Fox
 
Flowchart Diagram Templates by Creately
Flowchart Diagram Templates by CreatelyFlowchart Diagram Templates by Creately
Flowchart Diagram Templates by CreatelyCreately
 
Flowcharts
FlowchartsFlowcharts
Flowchartscorb201
 
Dfd examples
Dfd examplesDfd examples
Dfd examplesMohit
 

Viewers also liked (9)

System Analysis and Design
System Analysis and DesignSystem Analysis and Design
System Analysis and Design
 
Flowchart
FlowchartFlowchart
Flowchart
 
Types of Data Validation
Types of Data ValidationTypes of Data Validation
Types of Data Validation
 
Flowchart
FlowchartFlowchart
Flowchart
 
Flow charts
Flow chartsFlow charts
Flow charts
 
Flowchart Diagram Templates by Creately
Flowchart Diagram Templates by CreatelyFlowchart Diagram Templates by Creately
Flowchart Diagram Templates by Creately
 
Flowcharts
FlowchartsFlowcharts
Flowcharts
 
Flowchart
FlowchartFlowchart
Flowchart
 
Dfd examples
Dfd examplesDfd examples
Dfd examples
 

Similar to Flow charts

What is algorithm
What is algorithmWhat is algorithm
What is algorithmmshoaib15
 
System programming and implementation
System programming and implementationSystem programming and implementation
System programming and implementationJohn Todora
 
final Unit 1-1.pdf
final Unit 1-1.pdffinal Unit 1-1.pdf
final Unit 1-1.pdfprakashvs7
 
agri-commerce hub project-documentation report.pptx
agri-commerce hub project-documentation report.pptxagri-commerce hub project-documentation report.pptx
agri-commerce hub project-documentation report.pptxMuhweziAmon4
 
Algorithm and Flowcharts
Algorithm and FlowchartsAlgorithm and Flowcharts
Algorithm and FlowchartsSURBHI SAROHA
 
Unit 1 python (2021 r)
Unit 1 python (2021 r)Unit 1 python (2021 r)
Unit 1 python (2021 r)praveena p
 
Software develop....
Software develop.... Software develop....
Software develop.... GCWUS
 
Programming process and flowchart
Programming process and flowchartProgramming process and flowchart
Programming process and flowcharthermiraguilar
 
object oriented programming part inheritance.pptx
object oriented programming part inheritance.pptxobject oriented programming part inheritance.pptx
object oriented programming part inheritance.pptxurvashipundir04
 
FIT-Unit3 chapter 1 -computer program
FIT-Unit3 chapter 1 -computer programFIT-Unit3 chapter 1 -computer program
FIT-Unit3 chapter 1 -computer programraksharao
 

Similar to Flow charts (20)

Flow charts
Flow chartsFlow charts
Flow charts
 
pccf unit 1 _VP.pptx
pccf unit 1 _VP.pptxpccf unit 1 _VP.pptx
pccf unit 1 _VP.pptx
 
What is algorithm
What is algorithmWhat is algorithm
What is algorithm
 
System programming and implementation
System programming and implementationSystem programming and implementation
System programming and implementation
 
final Unit 1-1.pdf
final Unit 1-1.pdffinal Unit 1-1.pdf
final Unit 1-1.pdf
 
agri-commerce hub project-documentation report.pptx
agri-commerce hub project-documentation report.pptxagri-commerce hub project-documentation report.pptx
agri-commerce hub project-documentation report.pptx
 
Algorithm and Flowcharts
Algorithm and FlowchartsAlgorithm and Flowcharts
Algorithm and Flowcharts
 
FLOW CHARTS
FLOW CHARTSFLOW CHARTS
FLOW CHARTS
 
Unit 1 python (2021 r)
Unit 1 python (2021 r)Unit 1 python (2021 r)
Unit 1 python (2021 r)
 
Sd Revision
Sd RevisionSd Revision
Sd Revision
 
Software engineering
Software engineering Software engineering
Software engineering
 
Software maintenance
Software maintenanceSoftware maintenance
Software maintenance
 
Software develop....
Software develop.... Software develop....
Software develop....
 
Programming process and flowchart
Programming process and flowchartProgramming process and flowchart
Programming process and flowchart
 
System development life cycle
System development life cycleSystem development life cycle
System development life cycle
 
Introduction to problem solving in C
Introduction to problem solving in CIntroduction to problem solving in C
Introduction to problem solving in C
 
SMD.pptx
SMD.pptxSMD.pptx
SMD.pptx
 
object oriented programming part inheritance.pptx
object oriented programming part inheritance.pptxobject oriented programming part inheritance.pptx
object oriented programming part inheritance.pptx
 
Flow chart
Flow chartFlow chart
Flow chart
 
FIT-Unit3 chapter 1 -computer program
FIT-Unit3 chapter 1 -computer programFIT-Unit3 chapter 1 -computer program
FIT-Unit3 chapter 1 -computer program
 

More from Ankit Agarwal

More from Ankit Agarwal (14)

Ghost Protocol
Ghost ProtocolGhost Protocol
Ghost Protocol
 
Important Questions of Appointment of Auditor
Important Questions of Appointment of AuditorImportant Questions of Appointment of Auditor
Important Questions of Appointment of Auditor
 
Appointment of Auditor
Appointment of AuditorAppointment of Auditor
Appointment of Auditor
 
Indian post office
Indian post officeIndian post office
Indian post office
 
Mutual fund
Mutual fundMutual fund
Mutual fund
 
Permanent account number
Permanent account numberPermanent account number
Permanent account number
 
Note book pc
Note book pcNote book pc
Note book pc
 
Business environment
Business environmentBusiness environment
Business environment
 
Stretigic Management
Stretigic ManagementStretigic Management
Stretigic Management
 
Peer review
Peer reviewPeer review
Peer review
 
Forex
ForexForex
Forex
 
Valuation of shares
Valuation of sharesValuation of shares
Valuation of shares
 
Fema
FemaFema
Fema
 
Syllabus
SyllabusSyllabus
Syllabus
 

Flow charts

  • 1. Introduction to flowcharting As it was discussed earlier that the computer has no imagination or thinking of its own, every logic or task that has to be performed to the computer is detailed. For this purpose, we have to give some instructions to the computer that is called programming. Programming process:- The set of detailed instructions which group the data processing activities together that are to be performed by a computer is called programs. The computer programming process is the collection of these six phases. 1. Program Analysis: Before making programs, the analysis of the system is done. This includes the inputs that are to be taken, the processing and the outputs that are to be generated. In this phase, it is also checked that if the program worth making. 2. Program Design: In this phase; the program layout is prepared by the system analyst and provided to the programmer. This is done using flowcharts that shows the flow of data, documents etc. very clearly. 3. Program Coding: In this phase, the implementation of flowchart is done using any programming language. For each language, there are separate set of instructions with their respective syntax. Program coding is done in a way that these three objectives are achieved:- simplicity, efficient utilization of storage and least processing time. 4. Program debugging: After completion of program coding, it is compiled and run. During this process, only few errors can be traced. After elimination of these errors, the program is put to use in real necessity. The logical errors (bugs) that arise now are to be removed and this process is known as debugging. 5. Program documentation: Program documentation is done to provide explanation to the end user. This includes:- • Program specification • Program description • The test data that is employed in debugging the program. • The operation manual that lists operating instructions for the operator. • The maintenance documentation that is required to the person who has to make the necessary changes to the program. 6. Program Maintenance: the changes are constantly required in a business system and hence the program is also required to be changed. For this, separate programmers are required that are known as maintenance programmers. Because of this purpose the programs that ire written should be simple and self explanatory. Types of Flow charts:- 1. System outline chart: These charts mainly list the broad aspects of an application like structure, inputs, types of files to processed without regard to any sequence of flow. In these charts we mainly outline the work to be done in an application. 2. System flow chart: These charts represent the logical flow of all aspects of the data processing system in graphical manner. Like in complete application of sales department, to display the logical flow of sales order processing systems and its interlinking with other application, a systems flow chart is prepared. 3. Run flow chart: Since the system flowchart is a collection of several processes, the run flow chart in fact represents the future detailing of any particular process of system flow chart. 4. Program flow chart: These flow charts are the most detailed flow charts and are concerned with actual logical/arithmetic operations on data within CPU & for flow of data to various devices within application. These flow charts are normally directly converted into programs with the help
  • 2. of statements. These flow charts are normally prepared by programmer for graphical solution of any arithmetic and logical problems. Here, mainly we have concern with program flowchart for solving the problem. As we saw that flowcharting is the part of program design and programs design phase comes after program analysis, hence to dray any flowchart we should first of all do the analysis of the problem for which we want to draw the flowchart. i.e. the input required and the processing that has to be applied to get the desired output. Flowchart Definition: Flow charts can be defined as pictorial representations of an algorithm by system analysts for planning the procedure to solve a program. The diagram includes the flow of process, relevant operations and computations, point of decision and other information which is a part of solution. Algorithm: It is a step-by-step problem solving procedure that can be carried out by a computer. Its main features include: 1. It should be simple 2. It should be clear 3. It should lead to a unique solution to a problem. 4. It should have finite number of steps to arrive to a solution. Symbols used in a flow charts:- Start/stop Box Represents the beginning or the end of a flow chart Input/ Output Box Represents to accept the input from the user and display the output on the respective devices Processing Box Represents the processing on variables input by the user Decision Box Used for checking the condition and proceeding, based on the value that is returned by the comparison of the condition either True or False. Flow Lines Represents the flow of controls from one process to another A B Connectors These are used to join two different processes together.
  • 3. General guidelines to prepare Flowcharts:- 1. Listing all requirements in proper logical order and in detail. 2. Must be maid clear, neat and easy to fallow in order to have a good visual impact. 3. Use appropriate standard flowcharting symbols. 4. Make comparison instructions simple. Yes/No type. 5. Avoid intersections of lines, used to depict the flow of logic. 6. Use connectors to reduce the number of flow lines. Connector’s are useful where the flow charts are several pages long. 7. Check that the flowchart is logically correct and complete. This process is technically known as debugging and is done by using suitable test data. Advantages of using flowcharts:- 1. Communication: flowcharts are a good visual aid for communicating the logic of a system, to all concerned. 2. Quicker group of relationship: with the help of flowcharts, the relationship between the procedures can be identified and understood easily. 3. Effective analysis and synthesis: before programming a new system, the analysis is done effectively using flowcharts. In a running system program, flowchart may be used to combine old approaches with the new logics. 4. Efficient coding: with the help of flow chart the program logic can be implemented in any programming language for building up a new system. 5. Orderly debugging: the flowchart also helps in debugging process i.e. it helps in detecting, locating and removing mistakes. Limitations of Flowcharts:- 1. Complex Logic: When the program logic is complex, the flowcharts become lengthy and lack clarity in decision table. 2. Alteration and Modification: If alterations are required, the flowchart may require re-drawing completely. 3. Reproduction: As flowchart symbols cannot be typed, reproduction of flowchart is often a problem. 4. Standardization: Though program flowcharts are easy to follow, they are neither expressed completely in English, nor ere they translated in programming languages.