← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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