← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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