← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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