← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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