← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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