← Blink programs and delays lesson New set →

Electronics Worksheet: Blink Programs and Delays

Electronics lesson 23: Blink programs and delays · Set 87 · 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.⏱️ How many milliseconds is a wait of 1.1 seconds?
  2. 2.⏱️ What does “wait 500 ms” do? (a) blinks 500 times (b) turns the LED off (c) pauses for half a second (d) waits 500 seconds
  3. 3.⏱️ A program says “wait 9000 ms”. How many seconds is that? =
  4. 4.⏱️ loop forever { LED ON; wait 1950 ms; LED OFF; wait 50 ms }
    How many times does the LED blink in 12 seconds?
  5. 5.⏱️ How many milliseconds is a wait of 1.3 seconds?
  6. 6.⏱️ loop forever { LED ON; wait 200 ms; LED OFF; wait 50 ms }
    How many times does the LED blink in 8 seconds?
  7. 7.⏱️ loop forever { LED ON; wait 700 ms; LED OFF; wait 100 ms }
    How many milliseconds does one blink (ON + OFF) take?
  8. 8.⏱️ A program says “wait 7750 ms”. How many seconds is that? =
  9. 9.⏱️ How many milliseconds are in 1 second? (a) 60 (b) 100 (c) 1000 (d) 10
  10. 10.⏱️ repeat 5 times { buzzer ON; wait 1000 ms; buzzer OFF; wait 900 ms }
    How many milliseconds does this take in all?
  11. 11.⏱️ A program says “wait 1750 ms”. How many seconds is that? =
  12. 12.⏱️ How many milliseconds is a wait of 1.4 seconds?
  13. 13.⏱️ A program says “wait 1500 ms”. How many seconds is that? =
  14. 14.⏱️ loop forever { LED ON; wait 550 ms; LED OFF; wait 250 ms }
    How many milliseconds does one blink (ON + OFF) take?
  15. 15.⏱️ loop forever { LED ON; wait 700 ms; LED OFF; wait 300 ms }
    How many milliseconds does one blink (ON + OFF) take?
  16. 16.⏱️ loop forever { LED ON; wait 150 ms; LED OFF; wait 50 ms }
    How many times does the LED blink in 6 seconds?
  17. 17.⏱️ repeat 5 times { buzzer ON; wait 300 ms; buzzer OFF; wait 300 ms }
    How many milliseconds does this take in all?
  18. 18.⏱️ loop forever { LED ON; wait 250 ms; LED OFF; wait 250 ms }
    How many times does the LED blink in 1 second?
  19. 19.⏱️ How many milliseconds is a wait of 1.7 seconds?
  20. 20.⏱️ How many milliseconds is a wait of 0.7 seconds?
  21. 21.⏱️ loop forever { LED ON; wait 500 ms; LED OFF; wait 250 ms }
    How many milliseconds does one blink (ON + OFF) take?
  22. 22.⏱️ loop forever { LED ON; wait 350 ms; LED OFF; wait 600 ms }
    How many milliseconds does one blink (ON + OFF) take?
  23. 23.⏱️ A program says “wait 8250 ms”. How many seconds is that? =
  24. 24.⏱️ repeat 7 times { buzzer ON; wait 500 ms; buzzer OFF; wait 800 ms }
    How many milliseconds does this take in all?
  25. 25.⏱️ loop forever { LED ON; wait 550 ms; LED OFF; wait 200 ms }
    How many milliseconds does one blink (ON + OFF) take?
  26. 26.⏱️ How many milliseconds is a wait of 3.6 seconds?
  27. 27.⏱️ loop forever { LED ON; wait 250 ms; LED OFF; wait 950 ms }
    How many milliseconds does one blink (ON + OFF) take?
  28. 28.⏱️ How many milliseconds is a wait of 0.5 seconds?
  29. 29.⏱️ How many milliseconds is a wait of 0.4 seconds?
  30. 30.⏱️ loop forever { LED ON; wait 400 ms; LED OFF; wait 1000 ms }
    How many milliseconds does one blink (ON + OFF) take?
  31. 31.⏱️ repeat 9 times { buzzer ON; wait 700 ms; buzzer OFF; wait 300 ms }
    How many milliseconds does this take in all?
  32. 32.⏱️ repeat 2 times { buzzer ON; wait 700 ms; buzzer OFF; wait 300 ms }
    How many milliseconds does this take in all?
  33. 33.⏱️ loop forever { LED ON; wait 50 ms; LED OFF; wait 200 ms }
    How many times does the LED blink in 8 seconds?
  34. 34.⏱️ loop forever { LED ON; wait 650 ms; LED OFF; wait 350 ms }
    How many times does the LED blink in 5 seconds?
  35. 35.⏱️ repeat 10 times { buzzer ON; wait 600 ms; buzzer OFF; wait 700 ms }
    How many milliseconds does this take in all?
  36. 36.⏱️ loop forever { LED ON; wait 50 ms; LED OFF; wait 150 ms }
    How many times does the LED blink in 5 seconds?
  37. 37.⏱️ loop forever { LED ON; wait 1850 ms; LED OFF; wait 150 ms }
    How many times does the LED blink in 8 seconds?
  38. 38.⏱️ repeat 5 times { buzzer ON; wait 400 ms; buzzer OFF; wait 600 ms }
    How many milliseconds does this take in all?
  39. 39.⏱️ repeat 8 times { buzzer ON; wait 200 ms; buzzer OFF; wait 700 ms }
    How many milliseconds does this take in all?
  40. 40.⏱️ How many milliseconds is a wait of 4 seconds?

Answer key

  1. 1100
  2. pauses for half a second
  3. 9
  4. 6
  5. 1300
  6. 32
  7. 800
  8. 7.75
  9. 1000
  10. 9500
  11. 1.75
  12. 1400
  13. 1.5
  14. 800
  15. 1000
  16. 30
  17. 3000
  18. 2
  19. 1700
  20. 700
  21. 750
  22. 950
  23. 8.25
  24. 9100
  25. 750
  26. 3600
  27. 1200
  28. 500
  29. 400
  30. 1400
  31. 9000
  32. 2000
  33. 32
  34. 5
  35. 13000
  36. 25
  37. 4
  38. 5000
  39. 7200
  40. 4000

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