← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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