← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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