StudyBrixFree worksheets, study guides and courses

Computer science · Grades K–2

Clear instructions

Study guide for Kindergarten to Grade 2: algorithms, be clear and debugging; 2 worked examples and 3 practice questions. Writing steps a friend or robot can follow, and fixing mistakes.

One-page printable summary: Clear instructions · Revision sheet.

Make a worksheet

Learn the idea

Algorithms

An algorithm is a list of steps to do a job.

Be clear

Good instructions are clear, short and in the right order.

Debugging

A bug is a mistake in the steps. Debugging means finding and fixing it.

Worked examples

What makes a good instruction for a robot?

Robots follow exactly what we write, in order.

It is clear and in the right order.

What is a bug in a program?

A bug is an error in the steps.

a mistake in the instructions

Check your understanding

  1. Which instruction is clearest for a friend?

    1. Go somewhere.
    2. Move a bit.
    3. Take 3 steps forward.
  2. What do we call a list of steps to do a job?

    1. a sandwich
    2. a puzzle piece
    3. an algorithm
  3. A robot does the steps in the wrong order. What should you do?

    1. Shout at the robot.
    2. Give up.
    3. Check the steps and fix the order.

Answers and marking notes

Answers and marking notes
  1. Take 3 steps forward.

    It says exactly what to do and how much.

  2. an algorithm

    An algorithm is a set of steps.

  3. Check the steps and fix the order.

    Debugging means finding and fixing the mistake.

How this page was made: written for StudyBrix with AI assistance from our own templates. Answers and worked examples are checked by automated tests, and grade bands are approximate, not an official curriculum alignment. See the editorial policy for corrections. Editorial policy