← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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