← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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