← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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