← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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