Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1<score > 10> and <lives > 0> | Anot <touching [edge]?> | |
| 2<key space pressed?> or <key up arrow pressed?> | BTrue only when the score is over 10 AND there is at least one life left. Both parts must be true. | |
| 3The not block reverses a condition. If the sprite is NOT touching the edge, the block is true. | CThe or block was used when both conditions must be true. Any age would pass, because every number is over 8 or under 12. It should use and. | |
| 4Use and when two things must both be true, like the answer being right and the player having time left. | DThe not block is missing, so the script runs when the sprite IS touching the wall. It should be: if <not <touching [wall]?>> then. | |
| 5if <<age > 8> or <age < 12>> then (meant: age must be between 8 and 12) | Eif <<answer = 5> and <timer > 0>> then | |
| 6if <touching [wall]?> then (meant: do this when NOT touching the wall) | FTrue when either the space key or the up arrow key is pressed. Only one needs to be true. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
and, or, not — Blocks that combine or flip true/false conditions. And needs both to be true, or needs at least one to be true, and not reverses true to false and false to true.if <<score > 5> and <lives > 0>> thenif <<touching Cat?> or <touching Dog?>> thenif <not <touching edge?>> then<true> and <false> is falseif <not <key space pressed?>> then
say [Press space!] for (2) seconds