HelioLearnSkills for every stage

GRADE 2 · COMPUTATIONAL THINKING · ABOUT 25 MINUTES

Spot and fix an instruction bug

Compare the intended destination with the actual path.

Understand the idea

A bug is an error in instructions. Trace what happens before changing one step.

WORKED EXAMPLE

The goal is (2,1). Right, Down, Down ends at (1,2). Replace the last Down with Right.

Watch it step by step

Step 1 of 4
012340123RStartPosition (0,0)One square per arrow.Down increases therow.

Start

Place a counter at (0,0).

Choose Play to advance steps automatically.

Read or choose any step
  1. Start

    Place a counter at (0,0).

  2. Right

    Move to (1,0).

  3. Down

    Move to (1,1).

  4. Fix

    Use Right to reach (2,1), rather than another Down.

TRY BEFORE CHECKING

Exercises with feedback

Enable JavaScript for feedback, or use the printed exercises.

MAKE SOMETHING YOU CAN EXPLAIN

Your practical challenge

Trace the wrong and corrected paths on paper. Explain the one change.

Review your evidence

These ticks are your self-review. They do not automatically assess project quality. Ask an adult or partner to review what you can show.

Use the skill in a new situation

Create a one-step bug for a partner to find.

Choose a different space for another learner on this browser.

Notes and checks use this browser, separate from school sign-in.

Each space keeps each grade separate. These spaces are not private accounts; use separate browser profiles for privacy on a shared device. About your practice data

Next: Be kind and ask permission →All six experiences