← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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