← Blink programs and delays lesson New set →

Electronics Worksheet: Blink Programs and Delays

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

Answer key

  1. 9000
  2. 3
  3. 4.5
  4. 1600
  5. 1000
  6. 1350
  7. 4400
  8. 2200
  9. 650
  10. 24
  11. 2400
  12. 1000
  13. 4900
  14. pauses for half a second
  15. 6000
  16. 750
  17. 500
  18. 0.75
  19. 9100
  20. 1100
  21. 40
  22. 20
  23. 300
  24. 1600
  25. 8
  26. 8
  27. 10800
  28. 13500
  29. 10
  30. 7.5
  31. 11200
  32. 1650
  33. 1050
  34. 0.25
  35. 2800
  36. 4
  37. 5.25
  38. 4200
  39. 1.75
  40. 1100

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