← Blink programs and delays lesson New set →

Electronics Worksheet: Blink Programs and Delays

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

Answer key

  1. 25
  2. 0.75
  3. 1000
  4. 6600
  5. 10
  6. 8400
  7. 17000
  8. 900
  9. 4200
  10. 800
  11. 4000
  12. 3000
  13. 7.25
  14. 4.75
  15. 7700
  16. 18
  17. 3600
  18. pauses for half a second
  19. 1.25
  20. 8.25
  21. 5.25
  22. 3600
  23. 600
  24. 14
  25. 3000
  26. 2500
  27. 600
  28. 3200
  29. 24
  30. 5000
  31. 7
  32. 8.5
  33. 1200
  34. 8000
  35. 4700
  36. 3400
  37. 5
  38. 5
  39. 550
  40. 6400

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