← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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