Learn about computers and real world problem solving.
This lesson includes:
- a video to help you understand algorithms
- a video to help you understand problem solving
- three activities to try out
Computational thinking is breaking down a problem and finding solutions a computer can understand.
There are four key cornerstones to computational thinking:
- decomposition - breaking down a complex problem or system into smaller, more manageable parts.
- pattern recognition – looking for similarities among and within problems.
- abstraction – focusing on the important information only, ignoring irrelevant detail.
- algorithms - developing a step-by-step solution to the problem, or the rules to follow to solve the problem.
Watch this film to find out more about algorithms.
An algorithm is a clear sequence of instructions with a start, a finish, and usually some decisions in the middle.
In this film we see how a task like 'Shopping for groceries' can seem simple to us.
But it is a task that can be broken down into smaller tasks using decomposition.
Shopping for groceries requires lots of smaller tasks to be solved.
We see in the film that a computer needs the problem put into simple logical steps so it understands what to do.
With a clear set of ordered instructions, the computer goes to the shop, collects the items, pays for them - but returns without them.
The programmer has forgotten to tell him to bring the shopping home in her instructions.
She amends her code, including all the necessary instructions.
Test your knowledge of algorithms and variables with this quiz from SAM Learning.