← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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