← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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