← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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