← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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