← Blink programs and delays lesson New set →

Electronics Worksheet: Blink Programs and Delays

Electronics lesson 23: Blink programs and delays · Set 375 · 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) 60 (b) 10 (c) 1000 (d) 100
  2. 2.⏱️ repeat 3 times { buzzer ON; wait 500 ms; buzzer OFF; wait 900 ms }
    How many milliseconds does this take in all?
  3. 3.⏱️ How many milliseconds is a wait of 4.3 seconds?
  4. 4.⏱️ A program says “wait 2000 ms”. How many seconds is that? =
  5. 5.⏱️ repeat 4 times { buzzer ON; wait 900 ms; buzzer OFF; wait 500 ms }
    How many milliseconds does this take in all?
  6. 6.⏱️ repeat 4 times { buzzer ON; wait 400 ms; buzzer OFF; wait 600 ms }
    How many milliseconds does this take in all?
  7. 7.⏱️ 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
  8. 8.⏱️ repeat 5 times { buzzer ON; wait 900 ms; buzzer OFF; wait 900 ms }
    How many milliseconds does this take in all?
  9. 9.⏱️ loop forever { LED ON; wait 250 ms; LED OFF; wait 150 ms }
    How many times does the LED blink in 4 seconds?
  10. 10.⏱️ repeat 8 times { buzzer ON; wait 400 ms; buzzer OFF; wait 600 ms }
    How many milliseconds does this take in all?
  11. 11.⏱️ repeat 3 times { buzzer ON; wait 600 ms; buzzer OFF; wait 1000 ms }
    How many milliseconds does this take in all?
  12. 12.⏱️ loop forever { LED ON; wait 100 ms; LED OFF; wait 550 ms }
    How many milliseconds does one blink (ON + OFF) take?
  13. 13.⏱️ repeat 5 times { buzzer ON; wait 600 ms; buzzer OFF; wait 200 ms }
    How many milliseconds does this take in all?
  14. 14.⏱️ A program says “wait 5000 ms”. How many seconds is that? =
  15. 15.⏱️ How many milliseconds is a wait of 4.6 seconds?
  16. 16.⏱️ How many milliseconds is a wait of 3.9 seconds?
  17. 17.⏱️ loop forever { LED ON; wait 50 ms; LED OFF; wait 950 ms }
    How many times does the LED blink in 4 seconds?
  18. 18.⏱️ loop forever { LED ON; wait 900 ms; LED OFF; wait 500 ms }
    How many milliseconds does one blink (ON + OFF) take?
  19. 19.⏱️ repeat 8 times { buzzer ON; wait 1000 ms; buzzer OFF; wait 1000 ms }
    How many milliseconds does this take in all?
  20. 20.⏱️ A program says “wait 8500 ms”. How many seconds is that? =
  21. 21.⏱️ loop forever { LED ON; wait 900 ms; LED OFF; wait 300 ms }
    How many milliseconds does one blink (ON + OFF) take?
  22. 22.⏱️ loop forever { LED ON; wait 50 ms; LED OFF; wait 950 ms }
    How many times does the LED blink in 3 seconds?
  23. 23.⏱️ repeat 9 times { buzzer ON; wait 600 ms; buzzer OFF; wait 700 ms }
    How many milliseconds does this take in all?
  24. 24.⏱️ loop forever { LED ON; wait 850 ms; LED OFF; wait 1150 ms }
    How many times does the LED blink in 6 seconds?
  25. 25.⏱️ A program says “wait 9500 ms”. How many seconds is that? =
  26. 26.⏱️ repeat 7 times { buzzer ON; wait 800 ms; buzzer OFF; wait 700 ms }
    How many milliseconds does this take in all?
  27. 27.⏱️ A program says “wait 4000 ms”. How many seconds is that? =
  28. 28.⏱️ A program says “wait 3000 ms”. How many seconds is that? =
  29. 29.⏱️ How many milliseconds is a wait of 0.2 seconds?
  30. 30.⏱️ A program says “wait 6250 ms”. How many seconds is that? =
  31. 31.⏱️ repeat 6 times { buzzer ON; wait 1000 ms; buzzer OFF; wait 200 ms }
    How many milliseconds does this take in all?
  32. 32.⏱️ loop forever { LED ON; wait 100 ms; LED OFF; wait 100 ms }
    How many times does the LED blink in 7 seconds?
  33. 33.⏱️ How many milliseconds is a wait of 0.3 seconds?
  34. 34.⏱️ loop forever { LED ON; wait 850 ms; LED OFF; wait 600 ms }
    How many milliseconds does one blink (ON + OFF) take?
  35. 35.⏱️ How many milliseconds is a wait of 0.4 seconds?
  36. 36.⏱️ repeat 7 times { buzzer ON; wait 1000 ms; buzzer OFF; wait 300 ms }
    How many milliseconds does this take in all?
  37. 37.⏱️ repeat 3 times { buzzer ON; wait 700 ms; buzzer OFF; wait 600 ms }
    How many milliseconds does this take in all?
  38. 38.⏱️ loop forever { LED ON; wait 850 ms; LED OFF; wait 550 ms }
    How many milliseconds does one blink (ON + OFF) take?
  39. 39.⏱️ A program says “wait 7750 ms”. How many seconds is that? =
  40. 40.⏱️ repeat 4 times { buzzer ON; wait 300 ms; buzzer OFF; wait 400 ms }
    How many milliseconds does this take in all?

Answer key

  1. 1000
  2. 4200
  3. 4300
  4. 2
  5. 5600
  6. 4000
  7. pauses for half a second
  8. 9000
  9. 10
  10. 8000
  11. 4800
  12. 650
  13. 4000
  14. 5
  15. 4600
  16. 3900
  17. 4
  18. 1400
  19. 16000
  20. 8.5
  21. 1200
  22. 3
  23. 11700
  24. 3
  25. 9.5
  26. 10500
  27. 4
  28. 3
  29. 200
  30. 6.25
  31. 7200
  32. 35
  33. 300
  34. 1450
  35. 400
  36. 9100
  37. 3900
  38. 1400
  39. 7.75
  40. 2800

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