← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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