← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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