← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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