← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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