← Blink programs and delays lesson New set →

Electronics Worksheet: Blink Programs and Delays

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

Answer key

  1. 15
  2. pauses for half a second
  3. 1000
  4. 3200
  5. 500
  6. 11000
  7. 800
  8. 9.5
  9. 2400
  10. 5400
  11. 1250
  12. 6.75
  13. 2100
  14. 12
  15. 200
  16. 25
  17. 5.75
  18. 12
  19. 1500
  20. 1200
  21. 4100
  22. 50
  23. 9800
  24. 3500
  25. 9.75
  26. 3000
  27. 1850
  28. 6300
  29. 32
  30. 1400
  31. 2.5
  32. 5.25
  33. 1900
  34. 1.25
  35. 4
  36. 2700
  37. 900
  38. 600
  39. 20
  40. 4900

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