🧠Concept
Pick the right answer.
if/else different from plain if?if/else. Which branch runs?if/else with an edge condition. The cat is NOT at the edge. What does the cat say?👀Code Reading
Look at the blocks. Predict what happens.
when flag clicked forever move (10) steps if <touching [edge v] ?> then say [At edge!] for (1) seconds else say [Moving...] for (1) seconds end end
when flag clicked forever move (10) steps if <touching [edge v] ?> then say [At edge!] for (1) seconds else say [Moving...] for (1) seconds end end
when flag clicked forever move (10) steps if <touching [edge v] ?> then turn cw (180) degrees else change [color v] effect by (5) end end
🐛Find the Bug
Something is broken. Pick the fix.
A plain if block is used. The cat says nothing away from the edge — the else branch is missing.
"The cat says nothing away from the edge. I want it to ALWAYS say something. What block replaces if?"
when flag clicked forever move (10) steps if <touching [edge v] ?> then say [At edge!] for (1) seconds end end
🛠️Build It
Pick a level. Build it. Check the boxes.
Make the cat say where it is.
More
Make the cat say "At edge!" or "Moving..." using if/else.
Done when
Cat uses if <touching [edge ▾]?> / else and two say blocks inside forever.
Bounce at the edge, glow away from it.
More
Make the cat bounce at the edge (if branch) OR change color away from the edge (else branch).
Done when
Cat uses turn (180) degrees in the if branch and change [color ▾] effect by in the else branch.
Three different actions, two choices.
More
Chain two if/else blocks for three different actions — one at the edge, one touching Sprite2, and one for everything else.
Done when
Cat has two nested or sequential if/else blocks inside forever.
Review the student's project, then check each thing they did.
Project Evaluation
0 of 4 ticked
💬Talk About It
Present your project to your teacher or a classmate.
- 1️⃣Show a friend your project.
- 2️⃣Point to the
ifbranch and theelsebranch. - 3️⃣Say one word for each one.
Watch the student present, then check each thing they did.
Presentation Checklist
0 of 4 ticked
📤Submit
Send your results to your teacher and parent.
0 of 0 answered