← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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