← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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