← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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