← Blink programs and delays lesson New set →

Electronics Worksheet: Blink Programs and Delays

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

Answer key

  1. 3000
  2. 2
  3. 1000
  4. 200
  5. 35
  6. pauses for half a second
  7. 1800
  8. 10
  9. 4
  10. 750
  11. 0.5
  12. 5
  13. 3000
  14. 3.25
  15. 10
  16. 1150
  17. 32
  18. 40
  19. 1600
  20. 12600
  21. 1250
  22. 200
  23. 4300
  24. 2200
  25. 5000
  26. 3700
  27. 7200
  28. 4000
  29. 4500
  30. 4
  31. 800
  32. 1700
  33. 1150
  34. 1600
  35. 700
  36. 2
  37. 4000
  38. 4400
  39. 7.25
  40. 7200

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