← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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