← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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