← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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