← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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