← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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