GCSE Computer Science · Computational thinking, representing algorithms, searching and sorting
Algorithms
GCSE · AQA · OCR
Algorithms
Computational thinking, representing algorithms, searching and sorting
Study Simplified revision slides
In this deck
Exam boardsAQAOCR
AQA: Searches: linear, binary. Sorts: bubble, merge.; OCR: Searches: linear, binary. Sorts: bubble, merge, insertion (insertion sort is OCR only).
Tip: press T or tap Test me to hide the answers and quiz yourself.
Have a go first
What is decomposition?
Breaking a problem down into smaller sub-problems. Smaller problems are easier to solve.
Guessing is fine. Trying before you revise helps it stick.
Key facts
Algorithm
A sequence of steps that can be followed to complete a task
Decomposition
Breaking a problem down into smaller sub-problems
Abstraction
Removing unnecessary detail from a problem to focus on what matters
Algorithmic thinking
Working out the steps needed to solve a problem
Key facts
Pseudo-code
A way of writing an algorithm that looks like code but is not a real programming language
Flowchart
A diagram using standard symbols to show the steps of an algorithm
Flowchart: terminal symbol
Rounded rectangle: start or end
Flowchart: decision symbol
Diamond: a yes/no question
Key facts
Flowchart: input/output symbol
Parallelogram
Flowchart: process symbol
Rectangle
Trace table
A table used to record the values of variables as an algorithm runs, to test it or find errors
Efficiency (AQA)
Comparing algorithms by how much time they take to solve the same problem
Key facts
Linear search
Checks each item in turn from the start until the item is found or the list ends; works on unsorted data
Binary search
Repeatedly checks the middle item of a SORTED list and discards the half that cannot contain the target
Bubble sort
Compares adjacent pairs and swaps them if they are in the wrong order; repeats passes until no swaps are made
Key facts
Merge sort
Splits the list into single items, then repeatedly merges pairs of lists in order
Insertion sort (OCR)
Takes each item in turn and inserts it into the correct position in the sorted part of the list
Merge sort vs bubble sort
Merge sort is usually much faster on large lists but uses more memory
Binary search vs linear search
Binary search is much faster on large lists but the data must be sorted first
Key terms
- Algorithm
- A sequence of steps that can be followed to complete a task
- Decomposition
- Breaking a problem down into smaller sub-problems
- Abstraction
- Removing unnecessary detail from a problem to focus on what matters
- Algorithmic thinking
- Working out the steps needed to solve a problem
- Pseudo-code
- A way of writing an algorithm that looks like code but is not a real programming language
- Flowchart
- A diagram using standard symbols to show the steps of an algorithm
Quick check 1
What is abstraction?
Removing unnecessary detail to focus on the important parts. A London Tube map is a classic example of abstraction.
Quick check 2
Which flowchart symbol shows a decision?
Diamond. A decision has two exits, e.g. Yes and No.
Teaching? Open in present mode. Swipe, use the arrow keys or tap the arrows. Download PDF opens your print window: choose "Save as PDF".
Algorithms: key facts
Everything on the slides, as a list you can read or print.
- Algorithm
- A sequence of steps that can be followed to complete a task
- Decomposition
- Breaking a problem down into smaller sub-problems
- Abstraction
- Removing unnecessary detail from a problem to focus on what matters
- Algorithmic thinking
- Working out the steps needed to solve a problem
- Pseudo-code
- A way of writing an algorithm that looks like code but is not a real programming language
- Flowchart
- A diagram using standard symbols to show the steps of an algorithm
- Flowchart: terminal symbol
- Rounded rectangle: start or end
- Flowchart: decision symbol
- Diamond: a yes/no question
- Flowchart: input/output symbol
- Parallelogram
- Flowchart: process symbol
- Rectangle
- Trace table
- A table used to record the values of variables as an algorithm runs, to test it or find errors
- Efficiency (AQA)
- Comparing algorithms by how much time they take to solve the same problem
- Linear search
- Checks each item in turn from the start until the item is found or the list ends; works on unsorted data
- Binary search
- Repeatedly checks the middle item of a SORTED list and discards the half that cannot contain the target
- Bubble sort
- Compares adjacent pairs and swaps them if they are in the wrong order; repeats passes until no swaps are made
- Merge sort
- Splits the list into single items, then repeatedly merges pairs of lists in order
- Insertion sort (OCR)
- Takes each item in turn and inserts it into the correct position in the sorted part of the list
- Merge sort vs bubble sort
- Merge sort is usually much faster on large lists but uses more memory
- Binary search vs linear search
- Binary search is much faster on large lists but the data must be sorted first
✓ Written by Study Simplified to the AQA · OCR GCSE Computer Science specification, and independently fact-checked against the official specification. Last reviewed 1 December 2026.
Study Simplified