← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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