← Blink programs and delays lesson New set →

Electronics Worksheet: Blink Programs and Delays

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

Answer key

  1. 2800
  2. 8.25
  3. 6000
  4. 2200
  5. 800
  6. 1000
  7. 5200
  8. 3
  9. 1400
  10. 4200
  11. 16
  12. 2400
  13. 8
  14. 5.75
  15. 8800
  16. pauses for half a second
  17. 1300
  18. 700
  19. 650
  20. 45
  21. 12000
  22. 600
  23. 15
  24. 6.5
  25. 700
  26. 8500
  27. 800
  28. 1350
  29. 1000
  30. 4.5
  31. 8
  32. 9.25
  33. 2100
  34. 2
  35. 7.25
  36. 1.5
  37. 10
  38. 1
  39. 2200
  40. 5

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