← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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