← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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