Ohbot
  • OH
  • About
    • Our Story
    • Follow us
    • Contact
  • Buy
    • Ohbot
    • Picoh
    • Accessories
    • Compare Robots
    • Resellers
  • Get Started
    • Ohbot Kit
    • Ohbot Assembled
    • Picoh
    • Accessories
    • Technical Notes
    • Support
  • Learn
    • Block Programming
    • Python Programming >
      • Programming Ohbot
      • Programming Picoh
    • Share
<-Ohbot SCHEME

Year 4 - Lesson 6
​ (Debugging)

Picture
Learning Intention
  • I can test and debug my programs

​Introduction
Start with the script below. Explain that you wanted to make Ohbot nod three times and count. Ask children to predict what it will do.
Picture
Ask children to observe what Ohbot does closely when the code runs. Run the script. What does Ohbot actually do? How is it different to what we want?

Model going through the code line by line. Ask children to explain line by line in pairs describing what each block does.

Get children to work in pairs to come up with possible solutions to make Ohbot nod.

Run children’s code suggestions

​Explain that they can adopt this approach to debugging their own code
Activity
Children open up Ohbot projects they have written this term.  Which work and which could be improved? Can they debug their programs to fix them?

Extension
Can children add extra code to their programs to improve them?
 
Plenary
Evaluation of the Ohbot project.  Children to complete the following feedback.
Picture
OH

About
Ohbot Robots
Our Story
Follow us
Contact
Buy
Ohbot
Picoh
Accessories
​
Compare Robots
Order enquiries
Resellers


Get Started
​Assemble Ohbot Kit
Ohbot
Picoh
Ohbot Accessories
Technical Notes

Support

Learn
Block Programming
  Ohbot Python
  Picoh Python    Share
​
Picture
Picture
Picture
Picture
Picture
Picture
​Ohbot Ltd. 5 Halliday's Mill, London Road, Chalford, Gloucestershire, GL6 8NR, UK
Copyright © Ohbot Ltd.  All rights reserved.
​Ohbot
® is a registered trademark of Ohbot Ltd.
  • OH
  • About
    • Our Story
    • Follow us
    • Contact
  • Buy
    • Ohbot
    • Picoh
    • Accessories
    • Compare Robots
    • Resellers
  • Get Started
    • Ohbot Kit
    • Ohbot Assembled
    • Picoh
    • Accessories
    • Technical Notes
    • Support
  • Learn
    • Block Programming
    • Python Programming >
      • Programming Ohbot
      • Programming Picoh
    • Share