← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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