← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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