Algorithms – Difference Between Pseudo Code and Algorithm

algorithmspseudocodeterminology

Technically, Is there a difference between these two words or can we use them interchangeably? Both of them more or less describe the logical sequence of steps that follow in solving a problem. ain't it? SO why do we actually use two such words if they are meant to talk of the same?

Or, In case if they aren't synonymous words, What is it that differentiates them? In what contexts are we supposed to use the word pseudo code vs the word algorithm?

Best Answer

Wikipedia's definition of an Algorithm:

In mathematics and computer science, an algorithm is an effective method expressed as a finite list of well-defined instructions for calculating a function. Algorithms are used for calculation, data processing, and automated reasoning.

Algorithms can be described in various ways, from pure mathematical formulas to complex graphs, more times than not, without pseudocode.

Pseudocode describes how you would implement an algorithm without getting into syntactical details.

So no, they're not really synonymous.

Related Topic