← Blink programs and delays lesson New set →

Electronics Worksheet: Blink Programs and Delays

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

Answer key

  1. 3000
  2. 1000
  3. 6
  4. 3
  5. 1100
  6. 12800
  7. 4400
  8. 15
  9. 8.75
  10. 16
  11. 200
  12. 10
  13. 5
  14. 800
  15. 650
  16. 900
  17. 7000
  18. 1600
  19. 2100
  20. pauses for half a second
  21. 6.75
  22. 6000
  23. 40
  24. 4900
  25. 1200
  26. 450
  27. 1600
  28. 4000
  29. 300
  30. 2500
  31. 300
  32. 10
  33. 3100
  34. 12600
  35. 2800
  36. 7800
  37. 32
  38. 8.25
  39. 9.5
  40. 500

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