← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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