Looks blocks: say and think

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

Looks blocks: say and think

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Which block makes a sprite show a speech bubble with text for the user to read?
A say Hello!
B move 10 steps
2. A sprite should talk for 3 seconds and then the bubble should go away. Which block is best?
A say Hello!
B say Hello! for 3 seconds
3. Which block shows a thought bubble, like the sprite is thinking?
A think Hmm...
B say Hmm...
4. You want the sprite to show the score stored in a variable. Which is correct?
A say Score: score
B say (join Score: (score))
5. A sprite uses 'say Hello! for 2 seconds'. What happens after 2 seconds?
A The speech bubble disappears
B The speech bubble stays on the stage

Match the Pairs

Draw a line connecting each item on the left to its match on the right.

Left columnRight 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))

Definitions

say

Fill in the Blanks

Complete each line of code by filling in the missing parts.

1.
___ "Hello!" for 2 seconds
2.
say "Hello!" for _ seconds
3.
_____ "I wonder..."
4.
say (____ "Score: " (score))
5.
set score to 10 say (join "Score: " (_____))

Spot the Error

Shade in the letter of the line that contains an error.

Question 1
A when green flag clicked
B say [Hello!] (2) for seconds
C think [Hmm...] for (2) seconds
Question 2
A say [Your name?] and wait
B say (join [Hi ] (answer))
C think [Nice name!]
Question 3
A when green flag clicked
B set [score] to (0)
C say [Score: score]
D think [Keep going!]
Question 4
A say [Hello!] for (two) seconds
B think [Hmm...] for (2) seconds
C say [Let's go!]
Question 5
A ask [Fav colour?] and wait
B say (join [I like ] [answer])
C think [Nice choice!]

Answer Key

Looks blocks: say and think
Section A: Quick Questions
Q1
A — say Hello!
Q2
B — say Hello! for 3 seconds
Q3
A — think Hmm...
Q4
B — say (join Score: (score))
Q5
A — The speech bubble disappears
Section B: Match the Pairs
Q1
say [Hello!] for 2 seconds → The sprite shows a speech bubble with Hello! and then the bubble disappears after 2 seconds
Q2
think [Hmm...] → The sprite shows a thought bubble with the text and it stays on the stage until another looks block changes it
Q3
Use the say block to give output to the user by showing a speech bubble with text → say [Welcome to my game!]
Q4
Use join inside a say block to show text and a variable together → say (join [Score: ] (score))
Q5
say (Score: score) → The text and the variable are not joined, so the block cannot show both. The join block is needed: say (join [Score: ] (score)).
Q6
say [Good luck!] for seconds → The 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.
Section C: Definitions
Q1
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.
Section D: Fill in the Blanks
Q1
say "Hello!" for 2 seconds
Q2
say "Hello!" for 2 seconds
Q3
think "I wonder..."
Q4
say (join "Score: " (score))
Q5
set score to 10 say (join "Score: " (score))
Section E: Spot the Error
Q1
B — The words are in the wrong order. The block must read: say [Hello!] for (2) seconds, with the number between 'for' and 'seconds'.
Q2
A — Say only shows a speech bubble. It does not wait for the user to type. The first line must be ask [Your name?] and wait so that answer has a value to join.
Q3
C — Putting the word score inside the text only shows the word 'score'. Use join with the variable: say (join [Score: ] (score)).
Q4
A — The time must be the number 2, not the word two. Round brackets around a word look like a variable. It should be say [Hello!] for (2) seconds.
Q5
B — [answer] is plain text, so the bubble would say the word 'answer'. The answer reporter goes in round brackets: (answer).