← Blink programs and delays lesson New set →

Electronics Worksheet: Blink Programs and Delays

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

Answer key

  1. 4000
  2. 900
  3. 2400
  4. 900
  5. 2
  6. 10
  7. 4
  8. pauses for half a second
  9. 1800
  10. 8
  11. 3000
  12. 2000
  13. 2400
  14. 1700
  15. 6300
  16. 4500
  17. 1000
  18. 2.5
  19. 1000
  20. 3000
  21. 8.25
  22. 9800
  23. 1050
  24. 1700
  25. 4.5
  26. 10
  27. 2800
  28. 17000
  29. 12000
  30. 1100
  31. 15
  32. 9.25
  33. 3300
  34. 9
  35. 1100
  36. 900
  37. 8
  38. 2100
  39. 2200
  40. 500

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