← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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