← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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