← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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