← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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