flowchart

What is flow chart, flow chart process, flow chart tutorial with example

What is flowchart

A flowchart is a graphical representation of a process. A reference to C language is the graphical presentation of the execution flow of this program.

Often, whenever you write a program, you write without any flow chart. It is impossible to understand it by another person. You graphically represent your program through the flowchart. By doing so, anyone can understand the logic of your program without you.

When you work as a programmer for a company, it is compulsory to create a flow chart before coding. This is done because the programmers often change in companies. It is compulsory to create flow charts so that any other person can easily understand and work on any project you have created.

Why Flowchart

An important reason for creating a flowchart is that it gives you a deep understanding of the program. You can see the errors and results coming in before it comes to coding. If the flow chart has been done completely, then coding is just a simple process in which the programmer has to write code according to the flowchart.

The biggest feature of the flow chart is that the flowchart is not meant for any particular programming language. By looking at the flowchart, you can implement the process in any programming language.

Large companies take a lot of time on the flowchart before developing the project. A flowchart is a blueprint of your program. It is like building a house before building it. The time spent in coding takes much more time from the flow chart. Algorithms are also made according to the flow chart.

Every good programmer should learn it because it is a very powerful tool. Today, many modern text editors such as Microsoft Word provide built-in options to create a flowchart. You can also create flow charts by using them.

Symbols of Flow Chart

Some symbols are used to explain a program graphically. These symbols have already been provided to you. These are called flowchart symbols. Every symbol has a meaning so that the flow chart can easily be understood by the viewer. You are being told about the flowchart symbols through the table.
Name
Symbol
Explanation
Begin/End
flowchart oval
This is an oval symbol. It is also called the terminal symbol. This is used to start and end the flow chart. Before any process, it is extremely important to start the program and endpoint define.
Processing
flowchart Rectangle
Whenever you execute an execution or a statement that is being processed, it is represented by the processing symbol.
Input/Output
flowchart parallelogram
You use parallelogram to display the input and output of the program.
Decision
flowchart diamond
The diamond symbol is used to show the decision making statements of the program.
Arrow (Flow)
flowchart arrow
Arrow symbol is used to show the flow of the program. It is used to show the flow after every symbol.

Also Read:

Example of FlowChart

Suppose you want to create a program of addition which reads 2 numbers from the user and adds them to the result display. For this, you will create the flow chart like this…
flowchart

 

The flow chart has been started from the first oval symbol in the flow chart given above. After this, 3 variables (num1, num2 and result) are declared by rectangle symbol. After this, the process of reading the num1 and num2 by the parallelogram is shown. Âfter this, the rectangle symbol is represented by the process of assigning the addition of both numbers and the Result variable. After this, the process of displaying the result by parallelogram is shown. At the end, the flowchart has been stopped by the terminal symbol. By looking at this flow chart, anyone can easily create a program of addition in any language.

Let us see another example of the flowchart. Suppose you want to create a program that reads two integer numbers and displays which is greater than that. For this, the flow chart will be created like this.

flowchart

Everything in the flow chart above is the same as before, just by the diamond symbol, the condition according to the condition in which the number is greater is being displayed.

 


One comment

Leave a Reply

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