Algorithm and Flowchart :

In order to write computer programming without any logical error, it is recommended programmers prepare a rough writing showing the steps involved in the program. This is called an algorithm. An algorithm presents step-by-step instruction required to solve any problem. These steps can be shown diagrammatical using a flowchart.

Algorithm and Flowchart

Flowchart is a symbolic or diagrammatic representation of an algorithm. It uses several geometrical figures to represent the operations and arrows to show the direction of flow.

Programmers often use it as a program-planning tool to solve a problem. It makes use of symbols which are connected among them to indicate the flow of information and processing.

Flowchart are very helpful in writing program and explaining program to others.

Commonly used Symbols in Flowcharts :

Start / Stop (Terminal) :

Flowchart Start/Stop/Terminal

Start / Stop (Terminal) : Represents the beginning and the end of the flowchart.

Input / Output :

Flowchart Input/Output

Input/Output : Represents the values to be given by the user and the results to be displayed.

Processing :

Flowchart processing

Processing : Represents the arithmetic operation to compute a value.

Checking / Decision making :

Flowchart Decision making

Checking / Decision making : Represents the logical checking to decide the flow sequence.

Preparation :

Flowchart Preparation

Preparation : As the names states, any process step that is a Preparation process flow step, such as a set-up operation.

Connector :

Flowchart Connector

Connector : Represents the Continuity of the flowchart in another place / page.

Arrows :

Flowchart Arrows

Arrows : Represents direction of flow.

Examples of flowcharts in programming :

Example 1:

Draw a flowchart to add two numbers entered by user :

flowchart to add two numbers

Example 2:

Draw flowchart to find the largest among three different numbers entered by user :

Flowchart to find largest

Example 3:

Draw a flowchart to find all the roots of a quadratic equation ax2+bx+c=0 :

Flowchart of quadratic equation

Example 4:

Draw a flowchart to find the Fibonacci series till term≤1000 :

Flowchart fibonacci sequence


What is a bootstrap loader? The bootstrap process in Windows Operating System

What is a bootstrap loader? The bootstrap process in Windows Operating System :

30/04/2020

Booting is a bootstrapping process that starts operating systems when the user turns on a computer. A Bootstrap Loader (BSL) is a small program but hard to code.

Read More
Types of Network Topology with Advantages and Disadvantages

Types of Network Topology with Advantages and Disadvantages :

21/10/2018

Network Topology is the schematic description of a network arrangement, connecting various nodes (sender and receiver) through lines of connection.

Read More
What is 5G Network? It's time to upgrade your mobile? More About 5G Network

What is 5G Network? It's time to upgrade your mobile? More About 5G Network :

25/02/2020

5G is a next-generation high-speed Mobile network connection, that replaces our 4G LTE network connections. Samsung Galaxy S10 5G, is the first 5G support mobile.

Read More

Next Update

Loading...

Currently, we are working on other servers, but soon we update our website with new content. So, stay tuned we are back soon with new content.

Free Courses