Bug in the Water Cycle

  Classroom Resource Information  

Title:

Bug in the Water Cycle

URL:

https://www.barefootcomputing.org/resources/bug-in-the-water-cycle

Content Source:

Other
Barefoot Computing
Type: Lesson/Unit Plan

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.

Content Standard(s):
Digital Literacy and Computer Science
DLIT (2018)
Grade: 3
4) Examine logical reasoning to predict outcomes of an algorithm.

Digital Literacy and Computer Science
DLIT (2018)
Grade: 3
7) Test and debug a given program in a block-based visual programming environment using arithmetic operators, conditionals, and repetition in programs, in collaboration with others.

Examples: Sequencing cards for unplugged activities, online coding practice.

Digital Literacy and Computer Science
DLIT (2018)
Grade: 4
4) Detect and debug logical errors in various basic algorithms.

Example: Trace the path of a set of directions to determine success or failure.

Tags: debug, logical reasoning, problem solving, scratch
License Type: Custom Permission Type
See Terms: https://www.barefootcomputing.org/terms-and-conditions
For full descriptions of license types and a guide to usage, visit :
https://creativecommons.org/licenses
Accessibility
Comments

LESSON TIMING: 45 min

This site requires a free account to access and download the lesson resources. 

  This resource provided by:  
Author: Aimee Bates