← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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