← Blink programs and delays lesson New set →

Electronics Worksheet: Blink Programs and Delays

Electronics lesson 23: Blink programs and delays · Set 432 · 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.8 seconds?
  2. 2.⏱️ loop forever { LED ON; wait 450 ms; LED OFF; wait 700 ms }
    How many milliseconds does one blink (ON + OFF) take?
  3. 3.⏱️ 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
  4. 4.⏱️ loop forever { LED ON; wait 450 ms; LED OFF; wait 150 ms }
    How many milliseconds does one blink (ON + OFF) take?
  5. 5.⏱️ repeat 5 times { buzzer ON; wait 600 ms; buzzer OFF; wait 200 ms }
    How many milliseconds does this take in all?
  6. 6.⏱️ repeat 5 times { buzzer ON; wait 100 ms; buzzer OFF; wait 1000 ms }
    How many milliseconds does this take in all?
  7. 7.⏱️ How many milliseconds are in 1 second? (a) 60 (b) 1000 (c) 10 (d) 100
  8. 8.⏱️ loop forever { LED ON; wait 100 ms; LED OFF; wait 100 ms }
    How many times does the LED blink in 3 seconds?
  9. 9.⏱️ loop forever { LED ON; wait 900 ms; LED OFF; wait 200 ms }
    How many milliseconds does one blink (ON + OFF) take?
  10. 10.⏱️ loop forever { LED ON; wait 300 ms; LED OFF; wait 900 ms }
    How many milliseconds does one blink (ON + OFF) take?
  11. 11.⏱️ A program says “wait 5250 ms”. How many seconds is that? =
  12. 12.⏱️ How many milliseconds is a wait of 4.9 seconds?
  13. 13.⏱️ A program says “wait 3250 ms”. How many seconds is that? =
  14. 14.⏱️ How many milliseconds is a wait of 4.8 seconds?
  15. 15.⏱️ loop forever { LED ON; wait 200 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 400 ms }
    How many milliseconds does one blink (ON + OFF) take?
  17. 17.⏱️ A program says “wait 3500 ms”. How many seconds is that? =
  18. 18.⏱️ How many milliseconds is a wait of 3.5 seconds?
  19. 19.⏱️ How many milliseconds is a wait of 4.5 seconds?
  20. 20.⏱️ repeat 10 times { buzzer ON; wait 400 ms; buzzer OFF; wait 200 ms }
    How many milliseconds does this take in all?
  21. 21.⏱️ loop forever { LED ON; wait 350 ms; LED OFF; wait 50 ms }
    How many times does the LED blink in 2 seconds?
  22. 22.⏱️ repeat 6 times { buzzer ON; wait 100 ms; buzzer OFF; wait 1000 ms }
    How many milliseconds does this take in all?
  23. 23.⏱️ repeat 2 times { buzzer ON; wait 500 ms; buzzer OFF; wait 300 ms }
    How many milliseconds does this take in all?
  24. 24.⏱️ loop forever { LED ON; wait 500 ms; LED OFF; wait 650 ms }
    How many milliseconds does one blink (ON + OFF) take?
  25. 25.⏱️ repeat 2 times { buzzer ON; wait 500 ms; buzzer OFF; wait 100 ms }
    How many milliseconds does this take in all?
  26. 26.⏱️ How many milliseconds is a wait of 2.4 seconds?
  27. 27.⏱️ loop forever { LED ON; wait 400 ms; LED OFF; wait 100 ms }
    How many times does the LED blink in 4 seconds?
  28. 28.⏱️ loop forever { LED ON; wait 50 ms; LED OFF; wait 200 ms }
    How many times does the LED blink in 7 seconds?
  29. 29.⏱️ loop forever { LED ON; wait 350 ms; LED OFF; wait 50 ms }
    How many times does the LED blink in 14 seconds?
  30. 30.⏱️ How many milliseconds is a wait of 3.8 seconds?
  31. 31.⏱️ loop forever { LED ON; wait 100 ms; LED OFF; wait 100 ms }
    How many times does the LED blink in 6 seconds?
  32. 32.⏱️ repeat 7 times { buzzer ON; wait 300 ms; buzzer OFF; wait 400 ms }
    How many milliseconds does this take in all?
  33. 33.⏱️ repeat 6 times { buzzer ON; wait 100 ms; buzzer OFF; wait 900 ms }
    How many milliseconds does this take in all?
  34. 34.⏱️ A program says “wait 2500 ms”. How many seconds is that? =
  35. 35.⏱️ A program says “wait 7750 ms”. How many seconds is that? =
  36. 36.⏱️ loop forever { LED ON; wait 750 ms; LED OFF; wait 250 ms }
    How many milliseconds does one blink (ON + OFF) take?
  37. 37.⏱️ How many milliseconds is a wait of 0.6 seconds?
  38. 38.⏱️ How many milliseconds is a wait of 2.2 seconds?
  39. 39.⏱️ loop forever { LED ON; wait 100 ms; LED OFF; wait 100 ms }
    How many times does the LED blink in 7 seconds?
  40. 40.⏱️ repeat 8 times { buzzer ON; wait 700 ms; buzzer OFF; wait 300 ms }
    How many milliseconds does this take in all?

Answer key

  1. 1800
  2. 1150
  3. pauses for half a second
  4. 600
  5. 4000
  6. 5500
  7. 1000
  8. 15
  9. 1100
  10. 1200
  11. 5.25
  12. 4900
  13. 3.25
  14. 4800
  15. 500
  16. 550
  17. 3.5
  18. 3500
  19. 4500
  20. 6000
  21. 5
  22. 6600
  23. 1600
  24. 1150
  25. 1200
  26. 2400
  27. 8
  28. 28
  29. 35
  30. 3800
  31. 30
  32. 4900
  33. 6000
  34. 2.5
  35. 7.75
  36. 1000
  37. 600
  38. 2200
  39. 35
  40. 8000

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