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 | |
|---|---|---|
| 1if <score > 10> then | AThe sprite turns only when it is touching the edge. Otherwise the turn block is skipped. | |
| 2if <touching edge?> then turn 15 degrees | BThe blocks inside this if block run only when the score is greater than 10. | |
| 3The condition goes in the hexagon slot of the if block | Cif <answer = yes> then say Great! | |
| 4Blocks that should only run sometimes go inside the if block | DThe say block is outside the if block, so it runs every time, even when the score is 10 or less. It should be placed inside the if block. | |
| 5if <say Hello> then | EA say block was put in the condition slot. The slot needs a true or false question, like <answer = yes>. The say block should go inside the if block. | |
| 6if <score > 10> then say You win! (say is outside the if) | Fif <key space pressed?> then |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
if <condition> then — A block that runs the blocks inside it only when its condition is true. If the condition is false, it skips them. The condition goes in the hexagon slot.if <score > 10> then
say(You win!)
endif <lives = 0> then
say(Game over)
endif <score > 10> then
say(Well done!)
endif <score > 10> then
say(You win!)
endif <touching edge?> then
turn 15 degrees
end