← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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