← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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