← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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