← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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