← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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