← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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