← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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