← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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