← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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