← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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