← Blink programs and delays lesson New set →

Electronics Worksheet: Blink Programs and Delays

Electronics lesson 23: Blink programs and delays · Set 163 · 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 3 times { buzzer ON; wait 100 ms; buzzer OFF; wait 900 ms }
    How many milliseconds does this take in all?
  2. 2.⏱️ loop forever { LED ON; wait 550 ms; LED OFF; wait 1450 ms }
    How many times does the LED blink in 18 seconds?
  3. 3.⏱️ How many milliseconds is a wait of 2.7 seconds?
  4. 4.⏱️ repeat 10 times { buzzer ON; wait 1000 ms; buzzer OFF; wait 300 ms }
    How many milliseconds does this take in all?
  5. 5.⏱️ How many milliseconds are in 1 second? (a) 1000 (b) 60 (c) 100 (d) 10
  6. 6.⏱️ How many milliseconds is a wait of 4 seconds?
  7. 7.⏱️ repeat 4 times { buzzer ON; wait 200 ms; buzzer OFF; wait 700 ms }
    How many milliseconds does this take in all?
  8. 8.⏱️ loop forever { LED ON; wait 850 ms; LED OFF; wait 800 ms }
    How many milliseconds does one blink (ON + OFF) take?
  9. 9.⏱️ How many milliseconds is a wait of 4.6 seconds?
  10. 10.⏱️ loop forever { LED ON; wait 400 ms; LED OFF; wait 700 ms }
    How many milliseconds does one blink (ON + OFF) take?
  11. 11.⏱️ loop forever { LED ON; wait 50 ms; LED OFF; wait 500 ms }
    How many milliseconds does one blink (ON + OFF) take?
  12. 12.⏱️ repeat 2 times { buzzer ON; wait 1000 ms; buzzer OFF; wait 800 ms }
    How many milliseconds does this take in all?
  13. 13.⏱️ repeat 10 times { buzzer ON; wait 200 ms; buzzer OFF; wait 400 ms }
    How many milliseconds does this take in all?
  14. 14.⏱️ loop forever { LED ON; wait 400 ms; LED OFF; wait 250 ms }
    How many milliseconds does one blink (ON + OFF) take?
  15. 15.⏱️ A program says “wait 750 ms”. How many seconds is that? =
  16. 16.⏱️ How many milliseconds is a wait of 3.3 seconds?
  17. 17.⏱️ 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
  18. 18.⏱️ A program says “wait 6500 ms”. How many seconds is that? =
  19. 19.⏱️ loop forever { LED ON; wait 850 ms; LED OFF; wait 950 ms }
    How many milliseconds does one blink (ON + OFF) take?
  20. 20.⏱️ loop forever { LED ON; wait 1000 ms; LED OFF; wait 900 ms }
    How many milliseconds does one blink (ON + OFF) take?
  21. 21.⏱️ How many milliseconds is a wait of 3.7 seconds?
  22. 22.⏱️ How many milliseconds is a wait of 5 seconds?
  23. 23.⏱️ How many milliseconds is a wait of 2.9 seconds?
  24. 24.⏱️ repeat 10 times { buzzer ON; wait 1000 ms; buzzer OFF; wait 500 ms }
    How many milliseconds does this take in all?
  25. 25.⏱️ loop forever { LED ON; wait 200 ms; LED OFF; wait 300 ms }
    How many times does the LED blink in 1 second?
  26. 26.⏱️ How many milliseconds is a wait of 3.5 seconds?
  27. 27.⏱️ repeat 3 times { buzzer ON; wait 900 ms; buzzer OFF; wait 600 ms }
    How many milliseconds does this take in all?
  28. 28.⏱️ A program says “wait 9000 ms”. How many seconds is that? =
  29. 29.⏱️ repeat 8 times { buzzer ON; wait 500 ms; buzzer OFF; wait 400 ms }
    How many milliseconds does this take in all?
  30. 30.⏱️ loop forever { LED ON; wait 150 ms; LED OFF; wait 50 ms }
    How many times does the LED blink in 9 seconds?
  31. 31.⏱️ How many milliseconds is a wait of 4.2 seconds?
  32. 32.⏱️ repeat 4 times { buzzer ON; wait 600 ms; buzzer OFF; wait 400 ms }
    How many milliseconds does this take in all?
  33. 33.⏱️ loop forever { LED ON; wait 50 ms; LED OFF; wait 150 ms }
    How many times does the LED blink in 6 seconds?
  34. 34.⏱️ loop forever { LED ON; wait 100 ms; LED OFF; wait 550 ms }
    How many milliseconds does one blink (ON + OFF) take?
  35. 35.⏱️ loop forever { LED ON; wait 150 ms; LED OFF; wait 100 ms }
    How many times does the LED blink in 5 seconds?
  36. 36.⏱️ How many milliseconds is a wait of 4.4 seconds?
  37. 37.⏱️ How many milliseconds is a wait of 1.2 seconds?
  38. 38.⏱️ loop forever { LED ON; wait 350 ms; LED OFF; wait 250 ms }
    How many milliseconds does one blink (ON + OFF) take?
  39. 39.⏱️ repeat 8 times { buzzer ON; wait 100 ms; buzzer OFF; wait 700 ms }
    How many milliseconds does this take in all?
  40. 40.⏱️ loop forever { LED ON; wait 450 ms; LED OFF; wait 450 ms }
    How many milliseconds does one blink (ON + OFF) take?

Answer key

  1. 3000
  2. 9
  3. 2700
  4. 13000
  5. 1000
  6. 4000
  7. 3600
  8. 1650
  9. 4600
  10. 1100
  11. 550
  12. 3600
  13. 6000
  14. 650
  15. 0.75
  16. 3300
  17. pauses for half a second
  18. 6.5
  19. 1800
  20. 1900
  21. 3700
  22. 5000
  23. 2900
  24. 15000
  25. 2
  26. 3500
  27. 4500
  28. 9
  29. 7200
  30. 45
  31. 4200
  32. 4000
  33. 30
  34. 650
  35. 20
  36. 4400
  37. 1200
  38. 600
  39. 6400
  40. 900

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