← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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