← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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