← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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