← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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