Tutorpip← About this lessonABCWith the answer keyDownload PDF
Coding · Ages 8+ · Set A
Whisk walks to the fish
Scan to mark
on screen
A
Name
Date
Start Finish
Goal: 15 min
Score/ 10
Remember: A sprite does what its blocks say. A stack runs from the top to the bottom, one block at a time, and an event block like the flag says when it starts.

Read and answer

Read the story, then answer.

Mira and WhiskMira drew a cat called Whisk and a fish far across the page. On a screen, a character you move with blocks is called a sprite. At Code Club Mira put Whisk in the bottom corner of the stage and the fish in the top corner. First she snapped on a yellow block with a flag, an event block that says when to start. Under it went move ten steps, because a stack runs from the top down. Mira clicked the flag, but Whisk only shuffled a tiny bit. Then she tried four hundred steps, and Whisk zoomed to the edge, but the fish was in the corner, not at the edge. Ms. Ade said bugs happen and we just fix the stack. So the stack grew: go to the start, move 120 steps, turn left, move 80 steps, and say Yum. Click! Whisk walked, turned and walked again, right up to the fish.
1
Which block is on line 4 of Whisk's stack?
move 80 stepsturn leftsay Yum
2
A stack runs from the down.
topbottommiddle
3
A sprite walks across the stage with no blocks at all.
TrueFalse
4
What does the flag block, an event block, do?
It says when the stack startsIt makes the sprite say YumIt turns the sprite
5
Whisk moves 120 steps and then 80 steps. How many steps is that in all?
40180200
6
Join each block to its job.
  1. 1move
  2. 2turn
  3. 3say
  4. 4wait
  5. 5go to
  • Aputs the sprite on a spot of the stage
  • Bwalks the sprite the way it faces
  • Cmakes the sprite pause
  • Dchanges the way the sprite faces
  • Eputs words in a speech bubble

Order, fix and stretch

7
Put what happened in Mira's story in order.
  • Mira builds go to the start, move, turn left, move
  • Mira clicks the flag, and Whisk only shuffles a little
  • Ms. Ade says bugs happen and we fix the stack
  • Mira tries four hundred steps, and Whisk zooms to the edge
  • Whisk reaches the fish and says Yum
8
A stack does every block at the very same moment.
TrueFalse
9
Whisk walks and turns, but ends back at the start. What is the mix-up to fix?
Move go to the start to just under the flag blockAdd 400 more stepsTake away the turn left block
10
Whisk starts facing along the bottom of the stage. After go to the start, which stack walks it 60 steps along and then 40 steps up?
Stack A
Stack B
Stack C
11
Write four blocks that make a sprite walk, turn, and then walk again.
12
Draw the stage with Whisk in the bottom corner and the fish in the top corner. Draw Whisk's path.
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.