← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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