← Blink programs and delays lesson New set →

Electronics Worksheet: Blink Programs and Delays

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

Answer key

  1. 7000
  2. 2000
  3. 1000
  4. 50
  5. 3800
  6. 300
  7. 6800
  8. 5000
  9. 6
  10. 2900
  11. 4600
  12. 1650
  13. 5400
  14. 7800
  15. 15
  16. 36
  17. 2700
  18. 2.25
  19. pauses for half a second
  20. 12
  21. 600
  22. 1200
  23. 32
  24. 3000
  25. 1000
  26. 650
  27. 2.75
  28. 2400
  29. 8.25
  30. 9.25
  31. 40
  32. 6.75
  33. 650
  34. 8
  35. 1.5
  36. 1300
  37. 20
  38. 3200
  39. 4.25
  40. 11900

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