← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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