← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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