Bug in the Water Cycle

Use logical reasoning to detect and correct errors in programs

Age: 8-11 years

Type: Scratch

Curriculum Links to: Science, Geography

The Bug in the Water Cycle 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