← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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