← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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