← Blink programs and delays lesson New set →

Electronics Worksheet: Blink Programs and Delays

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

Answer key

  1. 2700
  2. 8800
  3. 4500
  4. 7700
  5. 6000
  6. 1000
  7. 100
  8. pauses for half a second
  9. 2
  10. 4600
  11. 1300
  12. 2800
  13. 250
  14. 3300
  15. 3800
  16. 1800
  17. 10
  18. 1250
  19. 12600
  20. 8400
  21. 3.75
  22. 7000
  23. 11000
  24. 0.75
  25. 8800
  26. 1600
  27. 2100
  28. 2.5
  29. 1100
  30. 13000
  31. 10500
  32. 10
  33. 1.25
  34. 4500
  35. 8
  36. 11400
  37. 3000
  38. 10
  39. 800
  40. 10800

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