StudyBrixFree worksheets, study guides and courses

Computer science · Grades K–2

Clear instructions · Revision sheet

Reference sheet for Kindergarten to Grade 2: algorithms, be clear and debugging. Writing steps a friend or robot can follow, and fixing mistakes.

Printable summary of the study guide Clear instructions.

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.

Explain without looking

  1. Write three steps to tell a friend how to put on a hat.
  2. Your friend followed your steps but ended up in the wrong place. How would you find the bug?

Check yourself

Four practice questions on this topic. Try each one before you open the answer.

  1. A robot is on square 4. → means move 1 forward. ← means move 1 back. Steps: ← → → →. Which square does the robot stop on?

    Show the answer

    6 4 → 3 → 4 → 5 → 6

  2. A robot is on square B2 of a grid. Columns A to E go from left to right; rows 1 to 5 go from bottom to top. Each arrow moves it one square: ↑ → ← ←. Which square does it end on?

    • A2
    • B3
    • A3
    • A4
    Show the answer

    A3 Start at B2, follow ↑ → ← ←, end at A3.

  3. A robot is on square E4 of a grid. Columns A to E go from left to right; rows 1 to 5 go from bottom to top. Each arrow moves it one square: ↓ ← ↑. Which square does it end on?

    • E4
    • D4
    • C4
    • D5
    Show the answer

    D4 Start at E4, follow ↓ ← ↑, end at D4.

  4. A robot is on square D3 of a grid. Columns A to E go from left to right; rows 1 to 5 go from bottom to top. Each arrow moves it one square: ← → ↑. Which square does it end on?

    • D5
    • E4
    • D4
    • C4
    Show the answer

    D4 Start at D3, follow ← → ↑, end at D4.

More practice on this topic

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