← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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