← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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