← Blink programs and delays lesson New set →

Electronics Worksheet: Blink Programs and Delays

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

Answer key

  1. 1.75
  2. 5500
  3. 900
  4. 4000
  5. 8.25
  6. pauses for half a second
  7. 1950
  8. 1000
  9. 200
  10. 1000
  11. 6
  12. 800
  13. 10
  14. 4400
  15. 5400
  16. 300
  17. 4
  18. 650
  19. 2400
  20. 6
  21. 2100
  22. 3100
  23. 2600
  24. 5
  25. 5.75
  26. 5400
  27. 3.75
  28. 6
  29. 3700
  30. 6.25
  31. 32
  32. 3300
  33. 4
  34. 4.5
  35. 2900
  36. 8
  37. 12800
  38. 3800
  39. 4800
  40. 350

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