← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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