← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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