← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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