Bug in the Water Cycle - Debugging

Use logical reasoning to detect and correct errors in programs

Age: 8-11 years

Type: Scratch

Curriculum Links to: computing, Science, Geography

The Bug in the Water Cycle - Debugging has been rated 5 stars

RESOURCE OVERVIEW:

In this activity pupils are challenged to detect and correct the error in a number of water cycle programs (debugging). They use logical reasoning to do this, comparing what the program should do with what it does do, and systematically homing in on the error (bug) by ‘thinking through’ the code in the program.

PUPIL OBJECTIVES:

  • I can use logical reasoning to debug a program.
  • I can explain how I debugged a program.

TEACHING ASSESSMENT OPPORTUNITIES:

  • Informal teacher assessment of pupils as they tackle the debugging challenge: focus on pupils’ logical approach and ability to explain the bugs they found, why they are bugs and how they corrected them.
  • Summative assessment of pupils’ debugging challenge sheets.

LESSON TIMING: 45 min

This lesson in your curriculum

Computing

  • Use logical reasoning to detect and correct errors in programs
  • Science
  • Continuing to build up a repertoire of poems learnt by heart, appreciating these and reciting some, with appropriate intonation to make the meaning clear


Geography

  • Describe and understand key aspects of the water cycle