Skip to content

Study Hub

Study Guides

This pupil-friendly study guide includes a unit summary, clear notes, common mistakes, and quick questions with answers.

Year 3 - Computing

Debugging movement

Events and actions in programs

Unit Summary

In this unit, pupils explore the link between events and actions. Pupils begin by moving a sprite in four directions (up, down, left, and right) and then explore movement within the context of a maze. This unit also introduces programming extensions, through the use of Pen blocks.

Lesson Summary

You will learn to fix the bugs that you find in a program.

Key Notes

  • A program can be tested against a design.
  • A piece of code can be matched to an outcome.
  • A bug is an error in the coding of the program.
  • Debugging is finding and fixing these errors in a program.

Vocabulary To Learn

  • bug: an error or mistake in code that stops it from working properly or as expected
  • debug: finding and fixing errors in a program

Common Mistakes To Avoid

  • Only new programmers will have bugs in their programs.

3 Quick Questions (With Answers)

1. Describe the system or process from this lesson in clear steps.

A program can be tested against a design. A piece of code can be matched to an outcome.

2. Define this computing term and give one practical example. 'bug'

an error or mistake in code that stops it from working properly or as expected. Add one real device or system example to prove understanding.

3. Correct this common computing misconception.

Mistake: Only new programmers will have bugs in their programs. Correction: Every programmer will need to correct errors and debug their code. Part of the process of programming is correcting mistakes made as you go along. Regluarly test your program does what it needs to as you go along.

More Lessons In This Unit

Browse all guides in the Year 3 Computing guide library.