Sequence

Computer Science: KS3, topic 2.1.7

Sequence

Sequence is the simplest structure for an algorithm to follow.

Sequence

Sequence

  • In a sequence algorithm, the computer follows a series of steps that are executed in the same order every time it runs.
  • This is often not very useful for longer codes because we cannot use any selection or iteration structures.
Flow chart

Flow chart

  • The flow chart for a sequence program will have the blocks one by one.
  • One arrow will connect each block to the next block.
  • There will be no diamond shapes, so the diagram will be mainly:
  • Ovals.
  • Rectangles.
  • Parallelograms.

Test yourself on Sequence

Practise this topic for free