← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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