You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Computational thinking is a problem-solving approach that allows us to take a complex problem, understand what the problem is, and develop possible solutions. It is not about thinking like a computer — it is about thinking in a way that allows a computer (or a human) to solve the problem effectively. Computational thinking is a fundamental part of the AQA and OCR GCSE Computer Science specifications and underpins everything you will study in this course.
Computational thinking is used far beyond computer science. Engineers, scientists, doctors, business analysts, and many other professionals use computational thinking every day. It provides a structured way to approach problems that might otherwise seem overwhelming.
In GCSE Computer Science, computational thinking is assessed in both the written exam and any programming tasks. You are expected to be able to:
Exam Tip: Questions on computational thinking often appear at the start of the exam paper and are worth easy marks if you understand the key concepts. Make sure you can define each of the four pillars and give examples.
Computational thinking is built on four key techniques (often called the four pillars):
| Pillar | Definition | Example |
|---|---|---|
| Decomposition | Breaking a complex problem down into smaller, more manageable sub-problems | Planning a school trip: booking transport, choosing a destination, arranging lunch, writing permission letters |
| Abstraction | Removing unnecessary detail and focusing only on the important information | A London Tube map ignores the actual geography and distances — it only shows stations and connections |
| Pattern Recognition | Identifying similarities or trends within or between problems | Recognising that sorting a list of names alphabetically uses the same logic as sorting a list of numbers |
| Algorithmic Thinking | Designing a step-by-step solution (an algorithm) to solve the problem | Writing a recipe with numbered steps to bake a cake |
The four pillars are not used in isolation. When faced with a problem, you would typically:
This process can be applied to any problem, whether you are writing a computer program, planning a project, or solving a maths question.
In computer science, computational thinking is used to:
Suppose you need to create a login system for a website. Using computational thinking:
INPUT username
INPUT password
IF username AND password match a record in the database THEN
DISPLAY "Login successful"
ELSE
DISPLAY "Invalid credentials"
ENDIF
It is important to understand that computational thinking and programming are not the same thing:
| Computational Thinking | Programming |
|---|---|
| A way of thinking about problems | Writing code in a specific language |
| Language-independent | Language-specific (Python, Java, etc.) |
| Focuses on the logic and approach | Focuses on syntax and implementation |
| Can be done with pen and paper | Requires a computer or IDE |
Computational thinking comes before programming. You should always plan your solution using computational thinking techniques before you start writing code.
Exam Tip: If an exam question asks you to "describe how you would solve this problem using computational thinking," you should mention decomposition, abstraction, pattern recognition, and algorithmic thinking — and explain how each one applies to the given scenario.
Computational thinking is the foundation of computer science. It provides a structured approach to problem-solving that can be applied to any domain. The four pillars — decomposition, abstraction, pattern recognition, and algorithmic thinking — work together to help you understand problems and design effective solutions. Mastering these concepts will help you in every area of GCSE Computer Science.