Sequence

The most basic algorithm uses sequences to present a list of instructions to be followed one after the other, step by step.

An explanation of sequence, as used in algorithms and programming

Example

  1. unlock the door
  2. open the door
  3. enter the room
  4. switch on the light
  5. close the door behind you
Flowchart sequence detailing how to open and close a door