← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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