← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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