← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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