← Blink programs and delays lesson New set →

Electronics Worksheet: Blink Programs and Delays

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

Answer key

  1. 4.25
  2. 3200
  3. 350
  4. 12
  5. pauses for half a second
  6. 5
  7. 1500
  8. 1100
  9. 8400
  10. 40
  11. 4
  12. 20
  13. 1350
  14. 3100
  15. 3000
  16. 750
  17. 700
  18. 1000
  19. 750
  20. 1200
  21. 550
  22. 5
  23. 1650
  24. 6
  25. 2700
  26. 2800
  27. 2200
  28. 1650
  29. 2100
  30. 2000
  31. 12800
  32. 4.75
  33. 3700
  34. 4500
  35. 4900
  36. 700
  37. 1100
  38. 1600
  39. 3900
  40. 4800

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