← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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