← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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