0% found this document useful (0 votes)
98 views

Flowchart and Algorithm

An algorithm is a set of step-by-step instructions to solve a problem and get expected results, while a flowchart is a graphical representation of an algorithm using symbols connected to show information and processing flow. Flowcharts use symbols like ovals, rectangles, diamonds and arrows to represent inputs, processes, decisions and flow. The main difference between algorithms and flowcharts is that algorithms are more complex to understand while flowcharts provide an easy visual representation using standard symbols.

Uploaded by

p
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
98 views

Flowchart and Algorithm

An algorithm is a set of step-by-step instructions to solve a problem and get expected results, while a flowchart is a graphical representation of an algorithm using symbols connected to show information and processing flow. Flowcharts use symbols like ovals, rectangles, diamonds and arrows to represent inputs, processes, decisions and flow. The main difference between algorithms and flowcharts is that algorithms are more complex to understand while flowcharts provide an easy visual representation using standard symbols.

Uploaded by

p
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

What is an algorithm?

Algorithm refers to a set of rules/instructions that step-by-step define how a work is to be executed in
order to get the expected results.

What is a Flowchart?
A flowchart is a graphical representation of an algorithm. It makes use of symbols that are connected
among them to indicate the flow of information and processing. The process of drawing a flowchart for
an algorithm is known as “flowcharting”.

Symbols used in flowchart are mentioned below –

Name Symbol Purpose


Terminal start/stop/begin/end

Oval
Input/output Input/output of data

Parallelogram
Process Any processing to be
performaed can be
represented

Rectangle
Decision Decision operation that
box determine which of the
alternative paths to be
followed

Diamon
Connector Used to connect
different parts of
flowchart

Circle
Flow Join 2 symbols and also
represents flow of
execution

Arrows

Difference between algorithm and flow chart:


S.No Flowchart

Algorithm
1. An algorithm is a step-by-step A flowchart is a diagram created with different
procedure to solve a problem. shapes to show the flow of data.
2. The algorithm is complex to A flowchart is easy to understand.
understand.
3. In the algorithm, plain text is used. In the flowchart, symbols/shapes are used.
4. The algorithm is easy to debug. A flowchart is hard to debug.
5. The algorithm is difficult to construct. A flowchart is simple to construct.
6. The algorithm does not follow any The flowchart follows rules to be constructed.
rules.
7. The algorithm is the pseudo-code for A flowchart is just a graphical representation of
the program. that logic.

You might also like