← Blink programs and delays lesson New set →

Electronics Worksheet: Blink Programs and Delays

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

Answer key

  1. 1
  2. 1000
  3. 1600
  4. 9000
  5. 400
  6. 950
  7. 1550
  8. 1200
  9. pauses for half a second
  10. 1200
  11. 12
  12. 1050
  13. 800
  14. 500
  15. 6300
  16. 2
  17. 5
  18. 1000
  19. 300
  20. 2.25
  21. 300
  22. 9000
  23. 6.25
  24. 2
  25. 7.25
  26. 0.5
  27. 3600
  28. 1.75
  29. 850
  30. 10
  31. 50
  32. 5.25
  33. 3400
  34. 5600
  35. 4.75
  36. 2.5
  37. 1300
  38. 2800
  39. 4200
  40. 1150

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