← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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