← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

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