← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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