← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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