← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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