← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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