What is the difference between a computer program and an algorithm?

347 views

When I was growing up computer program was software. Now everyone talks about algorithm. What is the differance between the two?

In: 6

10 Answers

Anonymous 0 Comments

An algorithm is a set of steps to follow in a given situation.

The term “computer program” is usually reserved for a complete, usable product.

A computer program utilizes, among other things, various algorithms to do what it’s supposed to do, i.e. algorithms are one of the building blocks of computer programs.

Bear in mind that an algorithm doesn’t necessarily need to refer to something related to programming. For example, a cooking recipe can also be an algorithm. It’s just a set of instructions.

You are viewing 1 out of 10 answers, click here to view all answers.