← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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