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.

Looping :

Flowchart looping

Looping : Represents the looping which is repeated based on a condition / value of a variable.

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
learn about IP address and their classes (including IP class ranges)

learn about IP address and their classes (including IP class ranges) :

06/05/2020

Each computer on a TCP/IP based network (including the internet) has a unique, numeric address called an IP (Internet Protocol) address, enabling data packages to be addressed.

Read More
What is CrossFire, CrossfireX or SLI (AMD/ATI/NVDIA)? SLI Works

What is CrossFire, CrossfireX or SLI (AMD/ATI/NVDIA)? SLI Works :

26/01/2019

CrossFire is a high-performance PC gaming graphics platform made possible by the use of multiple graphics cards coupled with a CrossFire enabled motherboard.

Read More
Domain Name Server (DNS). Generic Domains, Country Domains, Inverse Domains

Domain Name Server (DNS). Generic Domains, Country Domains, Inverse Domains :

22/02/2020

The purpose of DNS (Domain Name Server) is to translate domain names into IP addresses. A service is used for translating domain names into IP addresses.

Read More

Next Update

Loading...

We have a YouTube channel for live game streaming purposes, the channel name is "NightHawk". You can visit our gaming channel and support us, Thank you