← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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