annalopez1991
annalopez1991 18h ago • 0 views

Examples of using 'Repeat' blocks in Scratch Control

Hey everyone! 👋 I'm trying to wrap my head around the 'Repeat' block in Scratch. It seems super useful for making things happen multiple times without writing tons of code, but I'm not always sure when to use it or what cool stuff I can build with it. Can someone help me understand some practical examples? Maybe with a quick guide and some practice questions to check my understanding? That would be awesome! 💻
💻 Computer Science & Technology
🪄

🚀 Can't Find Your Exact Topic?

Let our AI Worksheet Generator create custom study notes, online quizzes, and printable PDFs in seconds. 100% Free!

✨ Generate Custom Content

1 Answers

✅ Best Answer
User Avatar
brandon.bell Mar 13, 2026

📚 Quick Study Guide

  • 🔄 The `Repeat` block in Scratch is a Control block used to execute a set of instructions a specific number of times.
  • 🔢 It takes a numerical input, which determines precisely how many times the script inside the block will run.
  • 🎨 Common uses include drawing shapes (like squares, triangles, circles), creating simple animations (moving a sprite back and forth), or repeating sound effects.
  • ⏱️ It helps make code significantly more efficient, concise, and easier to read by avoiding redundant blocks of identical code.
  • 🛑 Unlike `Forever` blocks, `Repeat` blocks have a definite end, executing the code a fixed number of times and then allowing the script to continue to subsequent blocks.
  • 💡 A common pattern for drawing regular polygons is to use `Repeat (number of sides)` then `Move (length) steps` and `Turn (360 / number of sides) degrees`.

🧠 Practice Quiz

Question 1:
Which of the following scenarios is BEST suited for using a `Repeat` block in Scratch?

  1. Making a sprite move continuously across the screen forever.
  2. Drawing a perfect square.
  3. Waiting for a specific key press before performing an action.
  4. Checking if two sprites are touching.

Question 2:
A Scratch script uses a `Repeat 10` block. If there's a `move 10 steps` block inside, how many total steps will the sprite move?

  1. 10 steps
  2. 100 steps
  3. 1 step
  4. Indefinitely

Question 3:
To draw an equilateral triangle using the `Repeat` block, what values should typically be used for the `Repeat` count and the `Turn` degrees?

  1. Repeat 3, Turn 90 degrees
  2. Repeat 4, Turn 90 degrees
  3. Repeat 3, Turn 120 degrees
  4. Repeat 5, Turn 72 degrees

Question 4:
What is the primary advantage of using a `Repeat` block over manually duplicating code blocks?

  1. It makes the sprite move faster.
  2. It allows for more complex conditional logic.
  3. It makes the script shorter, cleaner, and easier to modify.
  4. It automatically adds sound effects.

Question 5:
Consider a sprite that needs to say "Hello!" five times, with a 1-second pause after each "Hello!". Which combination of blocks inside a `Repeat 5` block would achieve this?

  1. `say "Hello!"`, `wait 5 seconds`
  2. `say "Hello!"`, `wait 1 seconds`
  3. `wait 1 seconds`, `say "Hello!"`
  4. `say "Hello!"` only

Question 6:
If a `Repeat` block is nested inside another `Repeat` block, how do you calculate the total number of times the innermost code executes?

  1. Add the repeat counts.
  2. Subtract the repeat counts.
  3. Multiply the repeat counts.
  4. Divide the repeat counts.

Question 7:
Which Scratch block is similar to `Repeat` but executes its code indefinitely?

  1. `If...then`
  2. `Forever`
  3. `Wait until`
  4. `Stop all`
Click to see Answers

1. B
2. B
3. C
4. C
5. B
6. C
7. B

Join the discussion

Please log in to post your answer.

Log In

Earn 2 Points for answering. If your answer is selected as the best, you'll get +20 Points! 🚀