How to Think Like a Computer What is decomposition?

How to Think Like a Computer What is decomposition?

A teenage programmer discovers how decomposition works through trial and error. She tries asking her computer to go shopping for her but he doesn't understand. She realizes she has to break down the task into a list of simple instructions to follow. 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. Teacher notes: This could be used to explore algorithms through working out steps in a process. Once this is done, students could then write the algorithm out in pseudo code or as a flowchart. This could be linked to an explanation of binary, as computers need everything broken down into 1’s and 0’s. You could ask students to think of everyday situations and then write algorithms through decomposing the situation or problem.

  • 2016
  • 00:03:11
  • 13-14
  • Added on: 09/03/2019 users can access content from outside their institution. You must find your access code and then create an account.

The new version of Curio is available!

Access this page through the new version and discover a whole new experience.

Try the new version