← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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