← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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