Back to Student Worksheet
CS Grade 4-5 Answer Key

CS: Scratch Concepts: Sprites, Loops, and Events

Practice using sprites, loops, and event blocks in Scratch

Answer Key
Name:
Date:
Score: / 15

CS: Scratch Concepts: Sprites, Loops, and Events

Practice using sprites, loops, and event blocks in Scratch

CS - Grade 4-5

Instructions: Read each problem carefully. Use complete sentences when explaining your thinking. Show your work in the space provided.
  1. 1

    In Scratch, what is a sprite? Give one example of something that could be a sprite in a project.

    Think about the character or object that moves on the stage.

    A sprite is an object or character in a Scratch project that can have code, costumes, and actions. A cat, a ball, or a spaceship could be a sprite.
  2. 2

    A Scratch project has a cat sprite and a beach backdrop. Which one is the sprite, and which one is the setting?

    The cat is the sprite because it is the character that can be programmed. The beach backdrop is the setting because it shows where the action takes place.
  3. 3

    Which event block would you use to start a program when the green flag is clicked?

    Look for the event that matches how the user starts the project.

    You would use the when green flag clicked event block to start a program when the green flag is clicked.
  4. 4

    A sprite has these blocks: when green flag clicked, move 10 steps, move 10 steps, move 10 steps. How many total steps does the sprite move?

    The sprite moves 30 total steps because 10 plus 10 plus 10 equals 30.
  5. 5

    A sprite has these blocks: when green flag clicked, repeat 4, move 5 steps. How many total steps does the sprite move?

    Multiply the number of steps by the number of repeats.

    The sprite moves 20 total steps because it moves 5 steps each time and repeats 4 times.
  6. 6

    Explain why a repeat block is useful when you want a sprite to do the same action many times.

    A repeat block is useful because it lets the sprite do the same action many times without writing the same block over and over. It makes the code shorter and easier to change.
  7. 7

    A sprite should dance the whole time the project is running. Should you use a repeat block or a forever block? Explain your choice.

    Think about whether the action should stop after a number or keep going.

    You should use a forever block because the sprite needs to keep dancing for the whole project. A repeat block stops after a set number of times.
  8. 8

    A sprite has these blocks: when space key pressed, say Hello! for 2 seconds. What makes the sprite say Hello?

    Pressing the space key makes the sprite say Hello because the code starts with the when space key pressed event block.
  9. 9

    A student wants a dog sprite to bark when it is clicked. Which event block should start the code?

    The event should match clicking the dog sprite, not pressing a key.

    The code should start with the when this sprite clicked event block because the dog should bark when the user clicks that sprite.
  10. 10

    A sprite has these blocks: when green flag clicked, repeat 3, next costume. What happens to the sprite when the green flag is clicked?

    The sprite changes to the next costume 3 times because the next costume block is inside a repeat 3 block.
  11. 11

    Look at this plan: When the green flag is clicked, the sprite should move 10 steps, wait 1 second, then turn 15 degrees. Put the actions in the correct order.

    Scratch follows the blocks in order from the top of the stack to the bottom.

    The correct order is move 10 steps, wait 1 second, then turn 15 degrees. Scratch runs blocks from top to bottom in a stack.
  12. 12

    A student puts a move 10 steps block on the screen, but the sprite does not move when the green flag is clicked. What important kind of block might be missing?

    An event block might be missing. The sprite needs an event block, such as when green flag clicked, to know when to start running the code.
  13. 13

    A sprite starts at the center of the stage. Its code says: when right arrow key pressed, change x by 10. What happens when the right arrow key is pressed 5 times?

    Changing x by a positive number moves a sprite to the right.

    The sprite moves 50 units to the right because it changes x by 10 each time and the key is pressed 5 times.
  14. 14

    A game has a player sprite and a star sprite. The star should disappear when the player touches it. What condition could be used in the code?

    A condition is a true or false test that the program can check.

    The code could use a touching player condition to check whether the star is touching the player. If the condition is true, the star can hide.
  15. 15

    Describe a simple Scratch project that uses at least one sprite, one event, and one loop.

    One example is a butterfly sprite that starts moving when the green flag is clicked. A forever loop can make the butterfly flap its wings and move around the stage.
LivePhysics™.com CS - Grade 4-5 - Answer Key