Visual and data

Algorithm steps

Pupils show each step of a sort or a search: the list after each pass of a bubble sort, each insert of an insertion sort, the splits and merges of a merge sort, or each check of a linear or binary search.

Marked automaticallyOn paper: a picture you mark

Good for

GCSE Computing algorithms (OCR J277 2.1, AQA 8525 3.1): tracing sorts and searches step by step.

Classfolio works out every step. Each right row scores a mark, and each pupil can get their own list.

How to set it up

  1. 1In the lesson editor, choose Add slide and pick Algorithm steps.
  2. 2Choose the algorithm, then type each list (numbers or words) or press Make a list. A search also needs what to look for.
  3. 3Choose whether each pupil gets a different list, and for a bubble sort whether to stop at the first sorted pass.
  4. 4Preview it as a pupil, then run the Readiness check before you launch: it flags anything still missing.

Tips from the classroom

  • A binary search shows pupils the list already sorted.
  • On paper each question prints with a row of boxes for every step.