← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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