← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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