Algorithms

An algorithm is a set of instructions/steps/rules that are followed to solve a problem.

We follow algorithms every day, maybe without even realising we are doing so:

  • You have a routine for cleaning your teeth
  • You follow a series of memorised steps when making a drink of tea
  • Cookery books have pages full of algorithms

Algorithm design

There are two common methods to express algorithm designs, they are pseudocode and flowcharts.

Our Pseudocode page explains about expressing algorithms as pseudocode

Our Flowcharts page explains about expressing algorithms as flowcharts

Both methods are perfectly acceptable and have their individual merits.