← Blink programs and delays lesson New set →

Electronics Worksheet: Blink Programs and Delays

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

Answer key

  1. 2600
  2. 1000
  3. 2900
  4. 600
  5. 4400
  6. 50
  7. 4200
  8. 4500
  9. 2500
  10. 1350
  11. 18000
  12. 5
  13. 900
  14. 3600
  15. pauses for half a second
  16. 1600
  17. 8
  18. 400
  19. 400
  20. 40
  21. 350
  22. 35
  23. 1600
  24. 7.25
  25. 2000
  26. 4500
  27. 2400
  28. 800
  29. 4.75
  30. 3900
  31. 0.25
  32. 8
  33. 12
  34. 850
  35. 2800
  36. 9.25
  37. 1
  38. 9900
  39. 30
  40. 18000

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