← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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