My Blog
Articles related to programming, computer science, technology and research.

22/04/2016 Categories: Programming. No Comments on Flowchart

Flowchart

A flowchart is a diagrammatic or pictorial or visual representation of an algorithm. It is a diagram which consists of various graphic symbols for representing the nature and flow of steps in a program or process.

The fundamental or basic elements in a flowchart are:

  1. Start/Stop symbol
  2. Input/output symbol
  3. Process symbol
  4. Decision or Test symbol
  5. Loop symbol
  6. Connector symbol

Start/Stop symbol: The start and end symbols indicate the beginning and the end of the flowchart. This symbol looks like a flat oval. Only one flow line is combined with this kind of symbol. Generally this symbol is used twice in a flowchart, that is, at the beginning and at the end. The start/stop symbol is as shown below:

start-stop

Input/output symbol: The input/output symbol looks like a parallelogram as shown below. This symbol is used to input and output the data. There are two flow lines connected with the input/output symbol. One line comes to this symbol and the other line goes out from this symbol.

input-output

Process Symbol: The process symbol looks like a rectangle. It is used for data processing and assigning values to variables. The operations mentioned within the rectangular block will be executed when this kind of block is entered in the flowchart. There are two flow lines associated with this symbol. The process symbol is as shown below:

processing

Decision/Test symbol: The decision symbol is like a diamond/rhombus. This symbol is used to take one of the decisions. Depending on the condition the decision block selects one of the alternatives. While solving a problem, one can take a single alternative or two or multiple alternatives, depending on the situation. A single alternative decision symbol is shown below:

decision

Loop Symbol: This symbol looks like a hexagon. This symbol is used for implementing loops. Four flow lines are associated with this symbol. Two lines are used to indicate the sequence of the program and the remaining two are used to show the looping area, that is from the beginning to the end. Loop symbol is as shown below:

loop

Connector Symbol: The connector symbol is a circle. It is used to establish the connection whenever it is impossible to directly join two parts in a flowchart. Quite often, the two parts of the flowchart may be on two separate pages. In such case, a connector can be used for joining the two parts. Only one flow line is associated with this symbol. It is as shown below:

connector

Examples

Problem: Draw a flowchart for adding two integers.

Flowchart

flowchart1

 

 

Problem: Draw a flowchart to find the greatest number among two integers.

Flowchart

flowchart2

 

Suryateja Pericherla

Suryateja Pericherla

Hello, I am Suryateja Pericherla working as an Asst. Professor in CSE department at Vishnu Institute of Technology. I write articles to share my knowledge and make people knowledgeable regarding certain topics.
Suryateja Pericherla

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll Up
Thank you for visiting startertutorials.com! If you like this website do share with your friends by clicking on the social icons available on the left hand side.

As the domain name is quite large to remember, use this short domain to visit this site. Short domain: stuts.me