Thinking like a computer: four skills
Computational thinking is an organised way of thinking that anyone can use, with or without a computer. It is the way a computer scientist looks at a problem, and it has four skills. Imagine that your class plans a school trip. Decomposition: split the big job into small ones, such as transport, food and money. Pattern recognition: notice that every trip needs a list of names, a time and a permission slip, so an old plan can help the new one. Abstraction: the map for the driver keeps only roads and stops, and leaves out shops and trees, because extra detail would not help the driver. Algorithm design: write the steps in order, like a recipe, so that anyone can follow them. In this course you will use the four skills before you write any code.
| Skill | The question it asks | School-trip example |
|---|---|---|
| Decomposition | What are the small parts? | transport, food, money |
| Pattern recognition | What is the same as before? | every trip needs a list of names |
| Abstraction | What matters, what can I drop? | a map keeps roads and stops only |
| Algorithm design | In which order do I do it? | a recipe-like list of steps |
Choose a job at home, for example preparing a family meal. Write a table with four rows: the small parts (decomposition), what is the same as another job you did (pattern), what you can ignore (abstraction) and the steps in order (algorithm). Show it to a grown-up.