← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

  1. jigsaw puzzle pieces
  2. when the program starts
  3. 10
  4. when the program starts
  5. a sound block
  6. move 10 steps
  7. a loop block
  8. a motion block
  9. play a beep
  10. an if block
  11. a sprite
  12. if the key is down
  13. an if block
  14. an if block
  15. play a drum beat
  16. 10
  17. 6
  18. 245
  19. 9
  20. 3
  21. an event block
  22. repeat 4 times
  23. 150
  24. a loop block
  25. when sprite is clicked
  26. a motion block
  27. 15
  28. a motion block
  29. repeat until done
  30. repeat forever
  31. if score is 10
  32. a loop block
  33. 8
  34. if score is 10
  35. 8
  36. a sound block
  37. repeat 4 times
  38. 60
  39. 25
  40. 160

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