← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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