← Blink programs and delays lesson New set →

Electronics Worksheet: Blink Programs and Delays

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

Answer key

  1. 6600
  2. 1000
  3. 2.5
  4. 8
  5. 1.75
  6. 8
  7. 5.25
  8. 2.25
  9. 3700
  10. 45
  11. 5.75
  12. 4500
  13. 6.25
  14. 1.25
  15. 20
  16. 7.75
  17. pauses for half a second
  18. 2700
  19. 850
  20. 4.5
  21. 16
  22. 10800
  23. 30
  24. 7000
  25. 10
  26. 3.25
  27. 4500
  28. 3100
  29. 2500
  30. 2600
  31. 500
  32. 3
  33. 3
  34. 2
  35. 3.5
  36. 2100
  37. 9500
  38. 30
  39. 14
  40. 4600

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