← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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