← Blink programs and delays lesson New set →

Electronics Worksheet: Blink Programs and Delays

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

Answer key

  1. 5200
  2. 4800
  3. 2.25
  4. 3300
  5. 5000
  6. 12600
  7. pauses for half a second
  8. 1650
  9. 850
  10. 300
  11. 5
  12. 4400
  13. 1000
  14. 2400
  15. 9000
  16. 4
  17. 8800
  18. 700
  19. 3400
  20. 2000
  21. 2
  22. 10
  23. 4500
  24. 3
  25. 2800
  26. 1400
  27. 13600
  28. 7
  29. 600
  30. 400
  31. 1300
  32. 3000
  33. 0.75
  34. 4200
  35. 30
  36. 10
  37. 12
  38. 1450
  39. 950
  40. 1.5

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