← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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