← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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