← Blink programs and delays lesson New set →

Electronics Worksheet: Blink Programs and Delays

Electronics lesson 23: Blink programs and delays · Set 331 · 40 questions
TalentJR

Remember (ON + OFF = one blink): 1 second = 1000 ms. One blink = ON wait + OFF wait. Blinks = total time in ms ÷ one blink; repeat n times takes n × one round.

NameDateTime takenScore ___ / 40
  1. 1.⏱️ loop forever { LED ON; wait 500 ms; LED OFF; wait 500 ms }
    How many times does the LED blink in 6 seconds?
  2. 2.⏱️ repeat 4 times { buzzer ON; wait 200 ms; buzzer OFF; wait 100 ms }
    How many milliseconds does this take in all?
  3. 3.⏱️ loop forever { LED ON; wait 850 ms; LED OFF; wait 550 ms }
    How many milliseconds does one blink (ON + OFF) take?
  4. 4.⏱️ loop forever { LED ON; wait 800 ms; LED OFF; wait 200 ms }
    How many milliseconds does one blink (ON + OFF) take?
  5. 5.⏱️ A program says “wait 2000 ms”. How many seconds is that? =
  6. 6.⏱️ How many milliseconds are in 1 second? (a) 1000 (b) 100 (c) 60 (d) 10
  7. 7.⏱️ loop forever { LED ON; wait 50 ms; LED OFF; wait 150 ms }
    How many times does the LED blink in 1 second?
  8. 8.⏱️ A program says “wait 1500 ms”. How many seconds is that? =
  9. 9.⏱️ loop forever { LED ON; wait 50 ms; LED OFF; wait 150 ms }
    How many milliseconds does one blink (ON + OFF) take?
  10. 10.⏱️ loop forever { LED ON; wait 100 ms; LED OFF; wait 650 ms }
    How many milliseconds does one blink (ON + OFF) take?
  11. 11.⏱️ repeat 2 times { buzzer ON; wait 200 ms; buzzer OFF; wait 1000 ms }
    How many milliseconds does this take in all?
  12. 12.⏱️ A program says “wait 3000 ms”. How many seconds is that? =
  13. 13.⏱️ A program says “wait 6000 ms”. How many seconds is that? =
  14. 14.⏱️ loop forever { LED ON; wait 50 ms; LED OFF; wait 300 ms }
    How many milliseconds does one blink (ON + OFF) take?
  15. 15.⏱️ How many milliseconds is a wait of 0.2 seconds?
  16. 16.⏱️ loop forever { LED ON; wait 50 ms; LED OFF; wait 200 ms }
    How many times does the LED blink in 4 seconds?
  17. 17.⏱️ loop forever { LED ON; wait 650 ms; LED OFF; wait 750 ms }
    How many milliseconds does one blink (ON + OFF) take?
  18. 18.⏱️ How many milliseconds is a wait of 4.3 seconds?
  19. 19.⏱️ repeat 6 times { buzzer ON; wait 600 ms; buzzer OFF; wait 1000 ms }
    How many milliseconds does this take in all?
  20. 20.⏱️ repeat 3 times { buzzer ON; wait 1000 ms; buzzer OFF; wait 1000 ms }
    How many milliseconds does this take in all?
  21. 21.⏱️ A program says “wait 3500 ms”. How many seconds is that? =
  22. 22.⏱️ loop forever { LED ON; wait 750 ms; LED OFF; wait 1250 ms }
    How many times does the LED blink in 16 seconds?
  23. 23.⏱️ A program says “wait 8750 ms”. How many seconds is that? =
  24. 24.⏱️ How many milliseconds is a wait of 4.6 seconds?
  25. 25.⏱️ How many milliseconds is a wait of 2.9 seconds?
  26. 26.⏱️ loop forever { LED ON; wait 100 ms; LED OFF; wait 100 ms }
    How many times does the LED blink in 9 seconds?
  27. 27.⏱️ loop forever { LED ON; wait 1600 ms; LED OFF; wait 400 ms }
    How many times does the LED blink in 20 seconds?
  28. 28.⏱️ How many milliseconds is a wait of 5 seconds?
  29. 29.⏱️ repeat 3 times { buzzer ON; wait 600 ms; buzzer OFF; wait 900 ms }
    How many milliseconds does this take in all?
  30. 30.⏱️ repeat 4 times { buzzer ON; wait 800 ms; buzzer OFF; wait 500 ms }
    How many milliseconds does this take in all?
  31. 31.⏱️ A program says “wait 9750 ms”. How many seconds is that? =
  32. 32.⏱️ A program says “wait 5250 ms”. How many seconds is that? =
  33. 33.⏱️ loop forever { LED ON; wait 700 ms; LED OFF; wait 450 ms }
    How many milliseconds does one blink (ON + OFF) take?
  34. 34.⏱️ How many milliseconds is a wait of 3.5 seconds?
  35. 35.⏱️ repeat 8 times { buzzer ON; wait 800 ms; buzzer OFF; wait 500 ms }
    How many milliseconds does this take in all?
  36. 36.⏱️ How many milliseconds is a wait of 0.5 seconds?
  37. 37.⏱️ loop forever { LED ON; wait 250 ms; LED OFF; wait 300 ms }
    How many milliseconds does one blink (ON + OFF) take?
  38. 38.⏱️ loop forever { LED ON; wait 250 ms; LED OFF; wait 850 ms }
    How many milliseconds does one blink (ON + OFF) take?
  39. 39.⏱️ repeat 7 times { buzzer ON; wait 100 ms; buzzer OFF; wait 1000 ms }
    How many milliseconds does this take in all?
  40. 40.⏱️ How many milliseconds is a wait of 2.7 seconds?

Answer key

  1. 6
  2. 1200
  3. 1400
  4. 1000
  5. 2
  6. 1000
  7. 5
  8. 1.5
  9. 200
  10. 750
  11. 2400
  12. 3
  13. 6
  14. 350
  15. 200
  16. 16
  17. 1400
  18. 4300
  19. 9600
  20. 6000
  21. 3.5
  22. 8
  23. 8.75
  24. 4600
  25. 2900
  26. 45
  27. 10
  28. 5000
  29. 4500
  30. 5200
  31. 9.75
  32. 5.25
  33. 1150
  34. 3500
  35. 10400
  36. 500
  37. 550
  38. 1100
  39. 7700
  40. 2700

Free electronics lessons, practice and worksheets at talentjr.in/electronics-for-kids