← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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