Intermediate
60 mins
Teacher/Student led
+85 XP

Thinking Like a Computer: Precise Instructions (Unplugged)

Students create precise algorithms to direct a robot across a floor grid. They spot vague steps that cause errors and fix them by debugging. This demonstrates that computers follow instructions exactly as told.

Teacher Class Feed

Load previous activity

    1 - Getting Started ~5 mins

    Illustration for Getting StartedI am a robot. I only do exactly what you say, word for word. Tell me how to walk from here to that chair.

    Key point

    Call out one instruction at a time. Watch carefully what I do.

    2 - Exact Words, Exact Order ~5 mins

    The chair walk went wrong because the steps were not clear enough. Two words for that:

    Key point

    Algorithm — a precise list of steps in a fixed order that gets a job done.

    Key point

    Bug — a mistake in the steps that makes the wrong thing happen.

    Next we will write a real algorithm on the floor grid and fix any bugs we find.

    3 - Direct the Robot Teacher ~25 mins

    Illustration for Direct the robot teacherWe have a floor grid with a start square and a target.

    Key point

    Your job: write an algorithm that walks the robot from start to target, staying on the grid squares.

    Allowed words

    Allowed words only: forward, turn left, turn right.

    Rules: each forward moves one square. Each turn means you stay on the same square and face a new way (a quarter-turn on the spot — watch me show it with my feet).

    Agree every step in order in your group. Dry-run it at your table first. Then one group will run theirs with me as the robot. If I go wrong, we debug together.

    4 - Order the Steps on the Board ~8 mins

    Now we will build an algorithm on the board. Three command cards are ready: forward, turn left and turn right.

    Call out the order you think will get the robot to the goal. We will drag the steps into place, press run, and watch. If it goes wrong, we debug together.

    Move the robot to the goal

    5 - Instructions Older Than Computers ~5 mins

    Precise step-by-step instructions existed long before computers. Think of a recipe, packing a school bag, or walking directions from the school gate.

    Where else in everyday life do people follow an algorithm? What goes wrong if one step is missing or in the wrong order?

    Pupil practice · Investigation Journal
    Module 4 · Technology: What Technology Does, IPO and Coding Foundations
    Lesson 26 · Thinking Like a Computer: Precise Instructions (Unplugged)
    Download Investigation Journal sheet (PDF)
    123learn · Online learning platform

    Unlock the full learning experience

    You're previewing this lesson. Get full access to this lesson and hundreds more — each one ready to teach, with interactive activities, printable resources and pupil progress tracking built in.

    Hundreds of curriculum-aligned lessons
    Interactive activities in every lesson
    Printable resources & progress tracking
    Copyright Notice
    This lesson is copyright of Coding Ireland 2017 - 2025. Unauthorised use, copying or distribution is not allowed.
    🍪 Our website uses cookies to make your browsing experience better. By using our website you agree to our use of cookies. Learn more