← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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