← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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