← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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