← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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