← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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