← Blink programs and delays lesson New set →

Electronics Worksheet: Blink Programs and Delays

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

Answer key

  1. 1000
  2. 3.75
  3. 3600
  4. 350
  5. 5400
  6. 3600
  7. 20
  8. 3800
  9. 12
  10. 3300
  11. 1200
  12. 2200
  13. 1
  14. 3500
  15. 10
  16. 2700
  17. 1800
  18. 4100
  19. 450
  20. 9
  21. 2700
  22. 1.5
  23. 5000
  24. 800
  25. 4600
  26. 1600
  27. 2500
  28. 1800
  29. 9800
  30. 200
  31. 450
  32. 35
  33. 1200
  34. 5400
  35. 9
  36. 3000
  37. 20
  38. pauses for half a second
  39. 4000
  40. 40

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