← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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