← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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