← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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