← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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