← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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