← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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