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 | |
|---|---|---|
| 1when space key pressed | Awhen space key pressed say Jump! for 1 seconds | |
| 2when up arrow key pressed | BBoth scripts use the same key, so they both start at once. To make different things happen, choose a different key for each event block. | |
| 3You can have several event scripts in one program, each reacting to a different key | Cwhen left arrow key pressed when right arrow key pressed | |
| 4The blocks stacked under the event block run every time the key is pressed | DStarts its script when the up arrow key is pressed, because that key was chosen in the drop-down list | |
| 5say Hello! for 2 seconds when space key pressed | EThe event block is at the bottom. It must be on top so the blocks stacked under it run when the key is pressed. | |
| 6when space key pressed when space key pressed | FRuns the blocks stacked under it each time the space key is pressed |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
when space key pressed — An event block that waits for a key to be pressed. Each time you press the key you chose, the blocks stacked under it run. You can pick a different key from the drop-down list.when space key pressed
move (10) stepswhen space key pressed
move (10) stepswhen space key pressed
turn (15) degreeswhen up arrow key pressed
change y by 10
when down arrow key pressedwhen space key pressed
move (10) steps