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

Difference Between Algorithm and Program

An algorithm is a step-by-step set of instructions to solve a problem using logical procedures, written in plain language independent of any programming language. A program implements an algorithm by translating it into instructions a computer can execute, using a specific programming language like Python, Java or C++, and allowing only computers to execute the translated instructions. The main differences are that algorithms are abstract problem-solving steps while programs are concrete computer-executable instructions in a specific language.

Uploaded by

Aman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
583 views

Difference Between Algorithm and Program

An algorithm is a step-by-step set of instructions to solve a problem using logical procedures, written in plain language independent of any programming language. A program implements an algorithm by translating it into instructions a computer can execute, using a specific programming language like Python, Java or C++, and allowing only computers to execute the translated instructions. The main differences are that algorithms are abstract problem-solving steps while programs are concrete computer-executable instructions in a specific language.

Uploaded by

Aman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Computer algorithms solve the problem while computer programs implement them in a

form that a computer can execute. Here are the main differences between algorithms
and programs:

Algorithm Program
It is a well-defined, step-by-step, logical procedure for solving a given problem.
It refers to a set of instructions for a computer to follow. A program can be
an implementation of many algorithms, or a program can even contain no algorithms.
An algorithm provides abstract steps for processing one sequence of related
information into a different sequence of derived information. The constituents
of a program may not be conceptually related.
It is written using plain English language and can be understood by those from a
non-programming background. It could be written in any programming language such
as Python, Java, C++, JavaScript, or any other language, depending on the
particular task the program is being designed for.
It can be expressed in natural language, flow charts, pseudocode, and in a variety
of programming languages. We write computer programs in a computer language.
Then a compiler or interpreter translates it into a language that is understandable
by any computer system.
An algorithm can be executed by a person. A program is always executed by a
computer.

You might also like