Please enable JavaScript.
Coggle requires JavaScript to display documents.
Computational Thinking (pattern recognition (many problems are solved by…
Computational Thinking
decomposition
-
for complex tasks we must break it down into a list of smaller, simpler instructions.
EXAMPLE
-
-
-
-
-
shopping - go to shop, find, bag and purchase items. Then go home, unpack and put in correct places.
-
-
EXAMPLE
TASK: create a game.
This is an open-ended problem. It is not well-defined. The way to approach it is to break it down (decompose) it into a set of questions that need answering
Type - what type of game is it going to be? e.g. card game, board game, computer game.
Theme - what style of game is it going to be e.g. quiz, strategy, simulation, pure chance etc
Audience - who is the game aimed at? e.g. small children, teens, adults, multi-player etc.
-
-
-
-
-
pattern recognition
-
-
-
-
the only difference is the item of food, and the length to cook it for.
if you re-wrote the instructions, but wrote 'pasta' and 'egg' as 'ITEM OF FOOD', and 'TIME' instead of the actually length...
-
-
Being able to create a pattern for solving a more general problem is a very powerful way of saving time and effort for the next similar problem that comes along.
abstraction
means to examine a problem and identify its most essential details and to disregard any non-essential details.
-
using abstraction to remove any non-essential features guides us towards a solution.
The same method of abstraction can be used for many other problems including those in computer programming.
algorithm
is a list of step-by-step instructions that, when followed, will solve a problem.
Being able to lay out an algorithm when writing a computer program is vital. This is because a computer needs to be told what to do, step by step.
-
-
In order to handle this, a conditional statement is used such as an IF statement.
-