← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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