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 | |
|---|---|---|
| 1say [Hello!] for 2 seconds | AThe text and the variable are not joined, so the block cannot show both. The join block is needed: say (join [Score: ] (score)). | |
| 2think [Hmm...] | Bsay [Welcome to my game!] | |
| 3Use the say block to give output to the user by showing a speech bubble with text | CThe number of seconds is missing. A number is needed, like say [Good luck!] for 2 seconds, so the block knows how long to show the bubble. | |
| 4Use join inside a say block to show text and a variable together | DThe sprite shows a thought bubble with the text and it stays on the stage until another looks block changes it | |
| 5say (Score: score) | EThe sprite shows a speech bubble with Hello! and then the bubble disappears after 2 seconds | |
| 6say [Good luck!] for seconds | Fsay (join [Score: ] (score)) |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
say — The say block makes a sprite show a speech bubble with text, so the program can give output to the user. Say for 2 seconds hides it after a time. Use join to add a variable.say "Hello!" for 2 secondssay "Hello!" for 2 secondsthink "I wonder..."say (join "Score: " (score))set score to 10
say (join "Score: " (score))