design, write and debug programs that accomplish specific goals, including controlling or simulating physical systems; solve problems by decomposing them into smaller parts.

use logical reasoning to explain how some simple algorithms work and to detect and correct errors in algorithms and programs

5.6b

LO: To debug simple programs.

Hopefully you have been collecting code to debug everytime you help out someone who has made an error - this code will better reflect the mistakes that the children really are making. Let's look at some different types of bugs in code:



Code Examples

Resources