← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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