← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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