← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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