← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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