Tutorpip← About this lessonABCWith the answer keyDownload PDF
Coding · Ages 8+ · Set A
Teo's space quiz
Scan to mark
on screen
A
Name
Date
Start Finish
Goal: 15 min
Score/ 11
Remember: A quiz asks a question, keeps the typed answer in a box, checks it with if else, and replies. A quiz that says yes to everything checks nothing.

Read and answer

Read the story, then answer.

Teo makes a quizTeo's little sister Ana loved space and asked him a hundred questions a day, so Teo decided to make a quiz. Ms. Ade said a quiz has three jobs: it asks, it checks, and it replies. Teo's first try was quick: ask the red planet question, then say Correct! Ana typed banana, and the quiz said Correct! That was no quiz at all, because it checked nothing. So Teo used an ask block, which waits and puts whatever Ana types into a box called answer. Then he used an if else block, like a fork in the road. If the answer is Mars, say Yes! Else, say Not quite. Now Ana typed banana for fun, and the quiz said Not quite. She tried silly answers for ten whole minutes, and the quiz never fell for one.
1
Ana types Mars. What does this quiz say?
Not quite.Yes!Nothing
2
Ana types Venus. What does this quiz say?
Yes!NothingNot quite.
3
A quiz has three jobs: it asks, it checks, and it .
replieswaitsrepeats
4
Teo's first quiz checked the answer.
TrueFalse
5
Which block does the checking job in a quiz?
🙋ask💬say🔀if else
6
Which block starts the quiz when it is clicked?
🏁the flag block🔀an if else block💬a say block

Match, order and fix

7
Join each block to its job.
  1. 1an ask block
  2. 2the answer box
  3. 3an if else block
  4. 4a say block
  • Aholds what was typed
  • Bshows a reply
  • Cshows a question and waits
  • Dpicks one path or the other
8
A quiz replies before an answer is typed.
TrueFalse
9
Ana plays Teo's quiz. Put what happens in order.
  • The quiz says Yes! or Not quite.
  • Ana types her answer
  • The answer goes into the box called answer
  • The quiz shows the question
  • The if else block looks in the box
10
Teo's first quiz says Correct! when Ana types banana. What is the mix-up to fix?
The flag block should come lastIt never checks the answer in the boxThe say block needs to be louder
11
A quiz has three jobs. Teo's quiz asks 3 questions, and each one asks, checks and replies. How many jobs is that in all?
639
12
Write the two replies for a quiz whose right answer is blue.
13
Draw a fork in the road. Label one road if the answer is Mars, and the other else.
Scan the code at the top to mark this sheet on screenTake a photo of your answers or type them. It is marked for you automatically, and your score is kept.