← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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