← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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