← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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