← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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