🧠Concept
Pick the right answer.
👀Code Reading
Look at the blocks. Predict what happens.
when flag clicked set [score v] to (3) if <<(score) > (5)> and <touching [edge v]?>> then say [Win!] for (2) seconds end
when flag clicked set [score v] to (10) if <<(score) > (5)> or <touching [edge v]?>> then say [Win!] for (2) seconds end
when flag clicked if <not <touching [edge v]?>> then change [score v] by (1) end
🐛Find the Bug
Something is broken. Pick the fix.
The student wants the cat to say "Win!" only when BOTH score > 5 AND the cat is touching the edge. But the cat says "Win!" even when it is far from the edge. What is wrong?
when flag clicked set [score v] to (0) forever move (10) steps change [score v] by (1) if <<(score) > (5)> or <touching [edge v]?>> then say [Win!] for (2) seconds end end
🛠️Build It
Pick a level. Build it. Check the boxes.
Cat says Win! at the edge.
More
Use if <<(score) > (5)> and <touching [edge ▾]?>> then say [Win!]. Set score to 10 and place the cat near the edge to confirm it fires.
Done when
Cat says "Win!" only when both conditions are true at the same time.
Score rises until the cat hits the edge.
More
1) Add a forever loop so score rises with each move. 2) Cat says "Win!" only when score > 5 AND touching edge. 3) Add a NOT rule so score rises only when NOT touching the edge. Skeleton: if <not <touching [edge ▾]?>> then change [score ▾] by (1).
Done when
Score grows correctly; AND win fires at the right moment; NOT stops score at the edge.
Use AND, OR and NOT together.
More
1) AND rule: cat says "Win!" when score > 5 AND touching edge. 2) OR rule: cat says "Watch out!" when score > 10 OR touching edge. 3) NOT rule: stop score rise at the edge. Use all three operators. Skeleton: if <<(score) > (10)> or <touching [edge ▾]?>> then say [Watch out!].
Done when
All three operators (AND, OR, NOT) each control a different behavior; correct conditions trigger each reaction.
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 classmate your project.
- 2️⃣Point to each and / or / not block in your project.
- 3️⃣Say what it does.
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