Flowchart

Subject: Computer Basics

Find Your Query

Overview

The step by step solution of a problem in a picture form is known as flowchart. This note explains what flowcharts are.
Flowchart

The step by step solution of a problem in a picture form is known as flowchart. It is one of the most important and oldest techniques to depict an algorithm. A Flowchart facilitates the computer in following ways:

  • Helps to understand program more easily.
  • Helps to define input, output and processing sections of program.
  • Helps to easily debug the program and act as analytical tool.
  • Represents complex algorithm in concise form of documentation.

The basic flowchart symbols are:


Types of Flow Chart

According to use and application of the flowchart we have two types of flowcharts: system flowchart and program flowchart.

  1. System Flowchart: It describes the sequence of processes to perform specific work. It explains the total flow of data inside the system.
  2. Program Flowchart: To represent the program, we have to use standard diagram called program flowchart. It shows the flow of instructions to solve the problems. It is used to make logical structure diagram of program.


Rules of developing flowchart

  • Analyse the input, process, storage and output of the program.
  • Use standard symbols and arrowhead to the direction of flow of data and instructions.
  • We should use easy word which can be easily understood by other programmer.
  • There should be a list of activities inside each symbol.
  • It should express all sections like input, process, logical and output.
  • It should not be any programming language oriented.

Advantages

  • It is easy method of communication to represent program.
  • It serves as a guide for program coding.
  • It is easier to understand than program and algorithm.
  • It is program independent so applicable for all types of programming languages.
  • It represent all the components of program like input, process, logic and output which makes easy to develop the program.

Disadvantages

  • It cannot replace all types of logic used on the computer program.
  • It takes long time to represent all module of computer program.
  • It is not suitable and be complex for big problem.
Things to remember
  • The step by step solution of a problem in a picture form is known as flowchart.
  • Flowchart is one of the most important and oldest techniques to depict an algorithm.
  • According to use and application of the flowchart we have two types of flowcharts: system flowchart and program flowchart.
  • Flowchart It represents all the components of program like input, process, logic and output which makes easy to develop the program.
  • It includes every relationship which established among the people.
  • There can be more than one community in a society. Community smaller than society.
  • It is a network of social relationships which cannot see or touched.
  • common interests and common objectives are not necessary for society.
Videos for Flowchart
Algorithm using Flowchart and Pseudo code Level 1 Flowchart
Concepts of Algorithm, Flow Chart & C Programming
Questions and Answers
Flowchart is a graphical representation of program solving steps so that it makes clear about the program. The concept of flowchart was given by John Vonn Neuman 1945.
Types of flowchart are:
a) System Flowchart b) Program Flowchart
System flowchart Program flowchart
1. System flowchart gives complete processing mechanism and cannot be converted into program 1. Program flowchart gives the problem solving method and can be converted into program.
Example: Organizational structure of a college. Example: Problem to calculate area of triangle.
The common guidelines (properties) of flowchart are:
The flowchart should have only one start and ending points.
Flow lines shouldn't intersect each other.
Flowchart should not contain the programming language.
The flowchart should be neat and clear for the user.

Some of the symbols used in flowchart along with their meanings are listed below:

Two disadvantages of flowchart are:

  1. It takes long time to prepare to proper flowchart.
  2. Translation of flowchart into program is sometimes difficult.

lgorithm

Step 1 : Start

Step 2 : Read radius and store to R

Step 3 : Assign value of pie to P

Step 4 : Find area and circumference

Step 5 : Display area and circumference

Step 6 : Stop


Algorithm.

Step 1 : Start

Step 2 : Read A, B

Step 3 : Assign A to X and B to Y

Step 4 : Divide A by B.

Step 5 : Is remainder zero? If yes, go to step 7.

Step 6 : Assign A to B and B to remainder. And go to step 4

Step 7 : Assign B to HCF

Step 8 : Multiply X and Y and divide by HCF. And assign result to LCM.

Step 9 : Display HCF and LCM

Step 10 : Stop


The basic flowchart symbols are: 1. Start and end symbols, represented as lozenges, ovals or rounded rectangles, usually containing the word "Start" or "End", or another phrase signaling the start or end of a process, such as "submit enquiry" or "receive product". 2. Arrows, showing what's called "flow of control" in computer science. An arrow coming from one symbol and ending at another symbol signifies flow passes to the symbol the arrow points to. 3. Processing steps, represented as rectangles. Examples: "Add 1 to X"; "replace identified part"; "save changes" or similar. Input/Output, represented as a parallelogram. Examples: Get X from the user; display X. 2. Conditional (or decision), represented as a diamond (rhombus). These typically contain a Yes/No question or True/False test. This symbol is unique in that it has two arrows coming out of it, usually from the bottom point and right point, one corresponding to Yes or True, and one corresponding to No or False. The arrows should always be labeled. More than two arrows can be used, but this is normally a clear indicator that a complex decision is being taken, in which case it may need to be broken-down further, or replaced with the "pre-defined process" symbol.

Quiz

© 2019-20 Kullabs. All Rights Reserved.