← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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