← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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