← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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