Use logical reasoning to detect & correct errors in programs

Concepts and approaches

Click on the icons below to learn about the important computer science concepts you should understand for this topic.

  • Debugging-icon
  • Logic-icon
  • programming-icon

Activities

In this activity pupils use logical reasoning to debug a simulation of the water cycle. Pupils think what their code should do, look carefully to find out what is does do and use logical reasoning to identify where bugs in their code exist and how they can be fixed.

7-11 years starBug in the Water Cycle Activity

7-11 years starLogical Reasoning Unplugged Activity: Sudoku