← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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