← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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