Test your knowledge with free interactive questions on Seneca — used by over 10 million students.

Algorithms

 

Definition

Definition

  • An algorithm is the steps and rules that are followed when completing a process.
  • The main actions in an algorithm are sequence, selection and repetition.
Sequence

Sequence

  • The sequence is the order of the steps.
    • E.g. the toppings cannot be put on the cakes until they are cooked.
Selection

Selection

  • Selection is a yes/no choice.
  • A yes/no choice can be thought of as an ‘if ... then’ instruction.
  • E.g. should the cakes be taken out of the oven?
    • If an inserted knife comes out clean, then yes.
    • If an inserted knife comes out dirty, then no.
Repetition

Repetition

  • Repetition means doing the same step over again.
Jump to other topics

Practice questions on Algorithms (1/2)

Can you answer these? Test yourself with free interactive practice on Seneca — used by over 10 million students.

  1. 1
  2. 2
Answer all questions on Algorithms (1/2)

Unlock your full potential with Seneca Premium

  • Unlimited access to 10,000+ open-ended exam questions

  • Mini-mock exams based on your study history

  • Unlock 800+ premium courses & e-books

Get started with Seneca Premium