← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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