← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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