← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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