← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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