← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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