← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

Computer lesson 27: Block coding basics · Set 209 · 40 questions
TalentJR

Remember (Times × amount): Event = when something happens; motion = move or turn; sound = play a sound; if = check a condition. A loop repeats the blocks inside it: total = times × amount. repeat N times [move, turn 360 ÷ N degrees] draws a shape with N sides.

NameDateTime takenScore ___ / 40
  1. 1.Which of these is a sound block? (a) glide to the edge (b) if the key is down (c) turn right 90 degrees (d) set volume to 50%
  2. 2.🐱 What do we call a character that moves on the stage in block coding? (a) a folder (b) a cursor (c) a pixel (d) a sprite
  3. 3.🧱 A sprite draws a shape: repeat 4 times [ move 50 steps, turn 90 degrees ]. How many sides does the shape have?
  4. 4.🔁 Which block repeats steps again and again? (a) an event block (b) a sound block (c) a motion block (d) a loop block
  5. 5.🧱 What kind of block is “when sprite is clicked”? (a) a loop block (b) an event block (c) a motion block (d) a sound block
  6. 6.🧱 A sprite runs: repeat 5 times [ move 45 steps ]. How many steps does it move in all?
  7. 7.🔍 Which is the odd one out? (a) repeat until done (b) turn right 90 degrees (c) glide to the edge (d) move 10 steps
  8. 8.🔍 Which is the odd one out? (a) play a drum beat (b) play a beep (c) if the key is down (d) set volume to 50%
  9. 9.Which of these is an event block? (a) repeat forever (b) when a key is pressed (c) glide to the edge (d) repeat 4 times
  10. 10.🔍 Which is the odd one out? (a) when sprite is clicked (b) play a drum beat (c) play a beep (d) set volume to 50%
  11. 11.🧱 A sprite runs: repeat 5 times [ repeat 2 times [ play a drum beat ] ]. How many drum beats are played?
  12. 12.Which of these is an event block? (a) when the program starts (b) play a beep (c) if touching the wall (d) move 10 steps
  13. 13.Which of these is a motion block? (a) when sprite is clicked (b) when a key is pressed (c) move 10 steps (d) play a drum beat
  14. 14.🧱 What kind of block is “play a drum beat”? (a) a sound block (b) a motion block (c) a loop block (d) an if block
  15. 15.🔍 Which is the odd one out? (a) set volume to 50% (b) play a beep (c) play a drum beat (d) when the program starts
  16. 16.🔍 Which is the odd one out? (a) if touching the wall (b) repeat until done (c) repeat 4 times (d) repeat forever
  17. 17.🧱 A sprite runs: repeat 3 times [ move 10 steps ]. How many steps does it move in all?
  18. 18.🧱 What kind of block is “when a key is pressed”? (a) an if block (b) a motion block (c) a loop block (d) an event block
  19. 19.🔍 Which is the odd one out? (a) repeat forever (b) turn right 90 degrees (c) glide to the edge (d) move 10 steps
  20. 20.🧱 In block coding, we join blocks like ___. (a) jigsaw puzzle pieces (b) ice cubes (c) wet clay (d) sand
  21. 21.Which of these is an if block? (a) play a drum beat (b) repeat 4 times (c) if touching the wall (d) when sprite is clicked
  22. 22.Which of these is an event block? (a) repeat forever (b) repeat until done (c) move 10 steps (d) when sprite is clicked
  23. 23.🧱 A sprite runs: repeat 5 times [ repeat 5 times [ play a drum beat ] ]. How many drum beats are played?
  24. 24.Which of these is a motion block? (a) repeat forever (b) play a beep (c) glide to the edge (d) if the key is down
  25. 25.🧱 A sprite draws a shape: repeat 10 times [ move 50 steps, turn 36 degrees ]. How many sides does the shape have?
  26. 26.🧱 A sprite draws a shape: repeat 6 times [ move 50 steps, turn 60 degrees ]. How many sides does the shape have?
  27. 27.🧱 A sprite runs: repeat 4 times [ move 20 steps ]. How many steps does it move in all?
  28. 28.Which of these is an if block? (a) set volume to 50% (b) if the key is down (c) move 10 steps (d) repeat forever
  29. 29.🧱 A sprite runs: repeat 10 times [ move 35 steps ]. How many steps does it move in all?
  30. 30.🧱 A sprite runs: repeat 4 times [ repeat 3 times [ play a drum beat ] ]. How many drum beats are played?
  31. 31.🧱 What kind of block is “play a beep”? (a) a loop block (b) a motion block (c) a sound block (d) an event block
  32. 32.Which of these is a sound block? (a) play a drum beat (b) glide to the edge (c) if touching the wall (d) when sprite is clicked
  33. 33.🔍 Which is the odd one out? (a) play a beep (b) turn right 90 degrees (c) set volume to 50% (d) play a drum beat
  34. 34.Which of these is a loop block? (a) when a key is pressed (b) repeat 4 times (c) play a drum beat (d) when sprite is clicked
  35. 35.🧱 A sprite runs: repeat 5 times [ repeat 4 times [ play a drum beat ] ]. How many drum beats are played?
  36. 36.🧱 A sprite runs: repeat 5 times [ move 15 steps ]. How many steps does it move in all?
  37. 37.🧱 What kind of block is “if the key is down”? (a) an event block (b) a loop block (c) a sound block (d) an if block
  38. 38.🧱 A sprite draws a shape: repeat 8 times [ move 50 steps, turn 45 degrees ]. How many sides does the shape have?
  39. 39.🧱 What kind of block is “move 10 steps”? (a) a motion block (b) an if block (c) an event block (d) a sound block
  40. 40.Which of these is a loop block? (a) turn right 90 degrees (b) when the program starts (c) move 10 steps (d) repeat until done

Answer key

  1. set volume to 50%
  2. a sprite
  3. 4
  4. a loop block
  5. an event block
  6. 225
  7. repeat until done
  8. if the key is down
  9. when a key is pressed
  10. when sprite is clicked
  11. 10
  12. when the program starts
  13. move 10 steps
  14. a sound block
  15. when the program starts
  16. if touching the wall
  17. 30
  18. an event block
  19. repeat forever
  20. jigsaw puzzle pieces
  21. if touching the wall
  22. when sprite is clicked
  23. 25
  24. glide to the edge
  25. 10
  26. 6
  27. 80
  28. if the key is down
  29. 350
  30. 12
  31. a sound block
  32. play a drum beat
  33. turn right 90 degrees
  34. repeat 4 times
  35. 20
  36. 75
  37. an if block
  38. 8
  39. a motion block
  40. repeat until done

Free computer lessons, practice and worksheets at talentjr.in/computer-worksheets