← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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