← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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