← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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