← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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