← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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