← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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