← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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