← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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