These worksheets are free forever. Want lessons that adapt to your child as they learn, plus progress tracking? Try Ignition Learning free.

Sign up free

Ignition Learning — Activity Sheet

Intro to coding: sequence & loops

Technologies · Year 7

Name: ______________________Date: ____________

Sequence means giving instructions in a specific, ordered series — a computer follows steps exactly as written, in order. A loop repeats a set of instructions multiple times, without needing to write them out again and again. Together, sequence and loops are two of the most fundamental building blocks of programming, used in tools like Scratch to build games and animations.

Example

To make a character walk across the screen, you could write "move 10 steps" ten separate times (a long sequence), or use a loop: "repeat 10 times: move 1 step" — achieving the same result with far less code.

Key terms

Sequence:
A series of instructions carried out in a specific order.
Loop:
A set of instructions that repeats multiple times.
Algorithm:
A step-by-step set of instructions for solving a problem.

Questions

  1. 1. A sequence is:

    • A series of instructions in order
    • A single instruction only
    • A type of hardware
    • A colour
  2. 2. A loop is used to:

    • Repeat instructions multiple times
    • Delete instructions
    • Slow down a computer
    • Change the screen colour only
  3. 3. Which tool is commonly used to teach kids coding with blocks?

    • Scratch
    • A calculator
    • A printer
    • A television
  4. 4. "Repeat 10 times: move 1 step" is an example of using a:

    • Loop
    • Single instruction with no repetition
    • Hardware component
    • Password
  5. 5. Writing "move 10 steps" ten separate times instead of using a loop is:

    • Less efficient than using a loop
    • The only way to code
    • Impossible to do
    • Required in all programs
  6. 6. An algorithm is:

    • A step-by-step set of instructions
    • A type of computer screen
    • A password
    • A loop only
  7. 7. In coding, order of instructions in a sequence:

    • Matters, since they run in that order
    • Never matters at all
    • Is always random
    • Only matters for loops
  8. 8. Why are loops useful in programming?

    • They save time and reduce repeated code
    • They make code run slower on purpose
    • They delete your program
    • They have no real benefit
  9. 9. A "repeat until" loop stops when:

    • A certain condition is met
    • It never stops
    • The screen turns off
    • A password is entered
  10. 10. A "forever" loop in Scratch will:

    • Keep repeating indefinitely, until stopped
    • Only run once
    • Never run at all
    • Delete the program
  11. 11. If you wanted a character to jump 5 times, which is more efficient?

    • A loop repeating "jump" 5 times
    • Writing "jump" 50 times
    • Writing "jump" only once total
    • Deleting the jump code entirely
  12. 12. Changing the order of steps in a sequence can:

    • Change the outcome of the program
    • Never affect anything
    • Only affect loops, not sequences
    • Delete the whole program automatically
  13. 13. A recipe with numbered steps followed in order is a real-life example of a:

    • Sequence
    • Loop only
    • Password
    • Hardware device
  14. 14. Setting an alarm to repeat every weekday is a real-life example of a:

    • Loop
    • Sequence with no repetition
    • Password
    • CPU
  15. 15. Why might a programmer use a loop with a specific count (e.g. "repeat 10 times") instead of a "forever" loop?

    • To control exactly how many times an action happens, rather than running endlessly
    • Because "forever" loops are not allowed in any language
    • There is no difference between the two
    • To make the program crash intentionally
  16. 16. Which best explains why sequence matters when combined with loops?

    • The order of steps inside a loop still determines what happens each repetition
    • Order never matters once a loop is used
    • Loops remove the need for any sequence
    • Sequences cannot exist inside loops
  17. 17. A game that repeatedly checks "has the player won?" until true is using a:

    • Repeat-until style loop
    • One-time sequence with no repetition
    • Hardware setting
    • Password check only
  18. 18. Why is breaking a big task into smaller repeatable steps (loops) considered good programming practice?

    • It reduces errors and repeated code, making programs easier to manage
    • It always makes programs slower and worse
    • It removes the need for any planning
    • It only works for very simple programs
  19. 19. If a loop is supposed to run 5 times but is accidentally set to run forever, what is the most likely result?

    • The program keeps repeating without stopping as intended
    • The program instantly fixes itself
    • Nothing happens differently at all
    • The computer hardware is damaged
  20. 20. Which everyday process best models both sequence AND loop together?

    • Following washing-machine steps, then repeating the whole cycle for each load of laundry
    • Reading a single sentence once
    • Turning a light on once
    • Naming a pet
  21. 21. Debugging a program mainly involves:

    • Finding and fixing errors in the sequence or logic of the code
    • Deleting the entire program permanently
    • Ignoring all errors on purpose
    • Adding random extra loops with no plan

Answer key (parent copy)

  1. 1. A series of instructions in order
  2. 2. Repeat instructions multiple times
  3. 3. Scratch
  4. 4. Loop
  5. 5. Less efficient than using a loop
  6. 6. A step-by-step set of instructions
  7. 7. Matters, since they run in that order
  8. 8. They save time and reduce repeated code
  9. 9. A certain condition is met
  10. 10. Keep repeating indefinitely, until stopped
  11. 11. A loop repeating "jump" 5 times
  12. 12. Change the outcome of the program
  13. 13. Sequence
  14. 14. Loop
  15. 15. To control exactly how many times an action happens, rather than running endlessly
  16. 16. The order of steps inside a loop still determines what happens each repetition
  17. 17. Repeat-until style loop
  18. 18. It reduces errors and repeated code, making programs easier to manage
  19. 19. The program keeps repeating without stopping as intended
  20. 20. Following washing-machine steps, then repeating the whole cycle for each load of laundry
  21. 21. Finding and fixing errors in the sequence or logic of the code