← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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