You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
This lesson introduces computational thinking, the foundation of OCR J277 Section 2.1. Computational thinking is the set of problem-solving skills that underpin all of computer science and is essential for approaching problems in a structured, logical way.
Computational thinking is the process of approaching problems in a way that allows them to be solved by a computer or a logical process. It involves breaking down complex problems, identifying patterns, removing unnecessary detail, and creating step-by-step solutions.
Computational thinking is not just about programming — it is a way of thinking that can be applied to problems in any subject or real-life situation. However, it is the foundation for writing effective algorithms and programs.
OCR Exam Tip: The OCR specification defines computational thinking as "the thought processes involved in understanding a problem and expressing its solutions in such a way that a computer, or human, can effectively carry out." Make sure you can explain this in your own words.
Computational thinking consists of four main components:
| Component | Description | Example |
|---|---|---|
| Decomposition | Breaking a complex problem into smaller, more manageable sub-problems | Planning a school event: break into venue, food, invitations, entertainment |
| Abstraction | Removing unnecessary detail to focus on what is important | A London Tube map shows connections but not actual distances or geography |
| Algorithmic thinking | Creating a step-by-step solution (algorithm) to solve the problem | A recipe is an algorithm — follow the steps to make a cake |
| Pattern recognition | Identifying similarities or trends in problems or data | Recognising that sorting names alphabetically uses the same logic as sorting numbers |
Computational thinking is important because:
| Situation | Computational Thinking Applied |
|---|---|
| Planning a holiday | Decomposition: Break into flights, accommodation, activities, budget |
| Following a recipe | Algorithmic thinking: Follow step-by-step instructions |
| Using a map | Abstraction: The map removes unnecessary detail (individual buildings) to show roads |
| Spotting trends | Pattern recognition: Noticing that sales increase every December |
| Organising a wardrobe | Decomposition + algorithmic thinking: Sort by type, then by colour |
It is important to understand the difference:
| Computational Thinking | Programming |
|---|---|
| A thinking process — how to approach and solve problems | A practical skill — writing code in a specific language |
| Comes before programming | Comes after computational thinking |
| Language-independent | Language-specific (Python, Java, etc.) |
| Focus: what to solve and how | Focus: implementing the solution |
A programmer who thinks computationally will:
In the OCR J277 exam (Paper 2: Computational Thinking, Algorithms and Programming), you will be expected to:
| Question Type | Example |
|---|---|
| Identify | "Identify the inputs and outputs for this system." |
| Decompose | "Break this problem into smaller sub-problems." |
| Design | "Write pseudocode or draw a flowchart for this algorithm." |
| Trace | "Trace through this algorithm and state the output." |
| Evaluate | "Suggest how this algorithm could be improved." |
OCR Exam Tip: Computational thinking questions often start with a real-world scenario. Read the scenario carefully and identify what the problem is before attempting to solve it. Do not jump straight to writing code — plan your approach using decomposition and abstraction first.
Computational thinking is the foundation of computer science. It consists of four key components: decomposition, abstraction, algorithmic thinking, and pattern recognition. These skills help us break down complex problems and create effective solutions. Computational thinking is not the same as programming — it is the thinking process that comes before writing code. For OCR J277 Section 2.1, you must be able to apply all four components to given scenarios.