← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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