- What is computational thinking?
Two thinking skills — abstraction and decomposition — that turn a messy real-world problem into something you can program.
Before you can write a single line of pseudocode you have to think about the problem in the right way. Computational thinking is the set of skills that lets you do this. For section 9.1 you need two of them:
| Skill | What it does |
|---|---|
| Abstraction | Simplify a system by keeping only the essential details and removing the rest. |
| Decomposition | Break a big problem into smaller sub-problems you can solve one at a time. |
These two skills work together. You abstract to decide what matters, and you decompose to split the work into manageable pieces. The pieces (sub-problems) then become the modules of your program — the procedures and functions you will study later in the programming topics.
Think of building a house: an architect first draws a simplified plan (abstraction — no need to draw every brick) and then divides the build into jobs like foundations, walls and roof (decomposition).
- Computational thinking = problem-solving skills before coding.
- 9.1 focuses on abstraction and decomposition.
- Abstraction decides WHAT matters; decomposition splits the WORK.
- Sub-problems become program modules (procedures/functions).