← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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