Intermediate
40 mins
Teacher/Student led
+85 XP

Spot the Repeat and the Bug

Learn to identify steps that repeat in sequences such as clapping patterns. Discover wrong steps known as bugs and work out how to correct them so the sequence works as intended.

Teacher Class Feed

Load previous activity

    1 - Getting Started ~4 mins

    Illustration for Getting StartedWatch and listen carefully. Clap, clap, stamp… clap, clap, stamp… What part keeps coming back again and again?

    Hands up when you can say the repeating bit out loud.

    2 - Today's Words: Repeat and Bug ~5 mins

    Key point

    Today's word: repeat. That means the bit that happens again, like clap, clap, stamp.

    In clap, clap, stamp… clap, clap, stamp… which bit is the repeat?

    Key point

    Another word: bug. A bug is a wrong step that makes the pattern go wrong. We can change that step so it works again.

    3 - Spot the Repeat on the Board ~6 mins

    Look at the robot on the board. Watch the path we build together. Which move is used more than once?

    Find the repeat and the bug

    4 - Act It Out: Find the Repeat and the Bug ~13 mins

    Part A: Lay out your ready cards. Act the pattern twice. Point to the bit that comes back again and again.

    Part B: Your teacher gives you the line with one wrong card. Find the wrong card and swap it so the pattern works again.

    5 - Record What We Found ~6 mins

    On your Investigation Journal page, record the repeat your group found and the bug you fixed. Draw or write the steps in order if that helps you remember. You do not need full sentences — clear labels are enough.

    Pupil practice · Investigation Journal
    Module 4 · Technology: Using Technology, Unplugged Steps and Scratchjr
    Lesson 27 · Spot the Repeat and the Bug
    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