← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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