← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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