← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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