pptx, 14.25 MB
pptx, 14.25 MB

KS2/KS3/Home-Ed/Home-school/Self-study/Computing/Coding/Computer Science

Lesson 9. Systematic Debugging and Fault Diagnosis

  • Brief recap of variables and a quiz on tracking variable values in code

  • Introduction to formal debugging methodologies: dry runs, step-through, and logging

  • Demonstrating common programming errors: syntax, logic, and runtime bugs

  • Teacher modelling: systematically isolating and fixing errors in broken Agent scripts

  • Guided activity: using dynamic chat output to log Agent state and location

  • Student challenge: fix five broken Minecraft code projects with distinct bugs

  • Discussion on computational thinking: logical reasoning to evaluate algorithms

  • Check for understanding: identifying bug types from error descriptions and behaviour

  • Independent practice: writing test cases to verify code stability under edge cases

  • Peer pair-programming: testing each other’s code to find unexpected behaviour

  • Class discussion on resilience and structured problem-solving in computing

  • Summary of debugging techniques and preparation for textual code transition

Get this resource as part of a bundle and save up to 33%

A bundle is a package of resources grouped together to teach a particular topic, or a series of lessons, in one place.

Reviews

Something went wrong, please try again later.

This resource hasn't been reviewed yet

To ensure quality for our reviews, only customers who have purchased this resource can review it

Report this resourceto let us know if it violates our terms and conditions.
Our customer service team will review your report and will be in touch.