Level 4

Broadcast Events

Level 4 · Chapter 1

What this lesson follows

CSTA K–12 Computer Science Standards (2017)

Algorithms & Programming · Grades 6–8

Break a problem into parts you can build and check.

Code 2-AP-13Read the official text

Common Core State Standards for Mathematics

Number & Operations in Base Ten · Grade 5

See that each place is ten times the one to its right.

Code 5.NBT.A.3Read the official text

The short lines are our own words. We matched this lesson to these standards ourselves; the standards' owners have not reviewed or endorsed this course.

Common Core State Standards © 2010 National Governors Association Center for Best Practices and Council of Chief State School Officers. All rights reserved.

Today you will send and receive broadcast messages between sprites.

1👋 Warm-Up

For teachers · goals · guide
Lesson Outcomes · for teachersCSTA 2
✦ CSTA 2-AP-13 · ISTE 1.5.c · Standards
🎯 I cansend and receive broadcast messages between sprites
🧩 New blocks1 block
📝 New words6 words
⏱ Lesson time~35 min
Teacher Guide

📋 Before class

⚠️ Common misconceptions

  • Students think broadcast sends the message only to one specific sprite — it goes to ALL sprites and the stage simultaneously.
  • Students confuse broadcast and broadcast-and-wait: the first continues immediately, the second waits for all receivers to finish before moving on.
  • Students try to receive a message that has a different name — the name must be spelled the same (Scratch ignores capital letters, but one extra or missing letter breaks it).

🎯 Differentiation

🐢 Struggling: Start with one sender and one receiver. Have students draw an arrow on paper from sender sprite to receiver sprite before building.

🚀 Advanced: Add a third sprite that receives a different broadcast and changes backdrop. Explore what happens when two broadcasts fire at the same time.

💡 During the lesson

  • Warm-UpAct it out: you are the "sender" sprite. Say "broadcast: stand up!" — all students who are listening should stand. Then say "broadcast: sit down!" Ask: "What if I had to walk to each desk individually? How is broadcast faster?" This builds intuition for the efficiency of event-driven communication. Splitting a big task into smaller broadcast jobs is decomposition 🧩.
  • Try ItWrite "broadcast" and "when I receive" on the board as a pair. Ask: "If no sprite has a 'when I receive hello' block, what happens when you broadcast hello?" (Nothing — the message is sent but ignored.) Emphasize that unused broadcasts are not errors.
    The first experiment is the key insight — with "and wait," the sender's say block only fires after the receiver finishes its say. The longer the receiver talks, the longer the sender waits. The second experiment shows that a name with one extra letter is a different message, so the other receiver answers. Capital letters do not matter. Let students discover answers by building, then discuss results together.
  • PlanDo the first box together. In the next boxes, pick, then watch both stages. In box 2, plain broadcast makes Pico say "My turn is done!" before the party: the parts no longer wait for each other. The broadcast hands off from sender to receiver, so with "and wait" the steps run one after another. At L4, one sprite sends and one receives — a clean, linear flow. Ask: "Why do we plan both sprites before building?" (So we know what message name to use in both places before typing it.)
  • BuildStep 5 is frequently missed — students add the receiver script to Pico instead of Score Display. Walk the room after step 4 to verify sprite selection. At step 9, have students describe the timing difference in their own words before moving on.