← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

Electronics lesson 22: Input and output pins · Set 800 · 40 questions
TalentJR

Remember (Read in, drive out): Inputs: buttons, knobs, sensors. Outputs: LEDs, buzzers, motors, displays. Digital: HIGH (≈ 5 V) or LOW (0 V) only. Analog: any value in a range. Trace the program: only the LED’s own pin matters, and its last command decides ON or OFF.

NameDateTime takenScore ___ / 40
  1. 1.📶 Digital or analog: a door: open or shut? (a) digital (b) analog
  2. 2.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 LOW
    set pin 7 LOW
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  3. 3.Which of these is an output? (a) a temperature sensor (b) a turning knob (c) a motion sensor (d) a buzzer
  4. 4.📶 Digital or analog: many values in a range? (a) digital (b) analog
  5. 5.Which of these is an output? (a) a light sensor (b) a push button (c) a keypad (d) a speaker
  6. 6.Which of these is an input? (a) a speaker (b) a small display (c) a temperature sensor (d) a motor
  7. 7.📶 How many states can a digital pin have? (a) two (b) ten (c) a thousand (d) one
  8. 8.📶 Digital or analog: HIGH or LOW only? (a) digital (b) analog
  9. 9.Which of these is an input? (a) a turning knob (b) a buzzer (c) a small display (d) a speaker
  10. 10.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 7 HIGH
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  11. 11.📶 On a 5 V board, a pin set HIGH gives about … (a) 230 V (b) 5 V (c) 50 V (d) 0 V
  12. 12.🔍 Which is the odd one out? (a) a water pump (b) a servo motor (c) a buzzer (d) a temperature sensor
  13. 13.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 8 LOW
    set pin 8 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  14. 14.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 LOW
    set pin 7 LOW
    set pin 7 HIGH
    set pin 7 LOW
    set pin 8 HIGH
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  15. 15.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 7 LOW
    set pin 8 HIGH
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  16. 16.📶 Digital or analog: a knob turned part way? (a) analog (b) digital
  17. 17.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 7 HIGH
    set pin 7 LOW
    set pin 7 HIGH
    set pin 8 HIGH
    set pin 7 HIGH
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  18. 18.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 7 LOW
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  19. 19.🔌 Is a buzzer an input or an output for a microcontroller? (a) output (b) input
  20. 20.🔌 Is a motion sensor an input or an output for a microcontroller? (a) output (b) input
  21. 21.🔍 Which is the odd one out? (a) a push button (b) a small display (c) a temperature sensor (d) a light sensor
  22. 22.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 LOW
    set pin 8 LOW
    set pin 8 HIGH
    set pin 7 LOW
    set pin 8 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  23. 23.🔌 Is an LED an input or an output for a microcontroller? (a) output (b) input
  24. 24.📶 Digital or analog: a button: pressed or not? (a) analog (b) digital
  25. 25.Which of these is an input? (a) an LED (b) a servo motor (c) a push button (d) a motor
  26. 26.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 8 LOW
    set pin 8 LOW
    set pin 7 HIGH
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  27. 27.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 HIGH
    set pin 7 LOW
    set pin 7 HIGH
    set pin 7 LOW
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  28. 28.📶 Digital or analog: how loud a sound is? (a) analog (b) digital
  29. 29.Which of these is an input? (a) a light sensor (b) a buzzer (c) a motor (d) an LED
  30. 30.True or false: “a door: open or shut” is a digital signal. (a) False (b) True
  31. 31.📶 Digital or analog: how bright a room is? (a) analog (b) digital
  32. 32.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 LOW
    set pin 8 LOW
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  33. 33.True or false: “HIGH or LOW only” is an analog signal. (a) True (b) False
  34. 34.Which of these is an output? (a) a motion sensor (b) a light sensor (c) a small display (d) a temperature sensor
  35. 35.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 8 HIGH
    set pin 8 LOW
    set pin 7 HIGH
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  36. 36.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 LOW
    set pin 7 HIGH
    set pin 7 HIGH
    set pin 8 LOW
    set pin 8 HIGH
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  37. 37.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 HIGH
    set pin 8 LOW
    set pin 8 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  38. 38.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 8 HIGH
    set pin 7 HIGH
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  39. 39.Which of these is an output? (a) a turning knob (b) a push button (c) a motor (d) a sound sensor
  40. 40.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 8 LOW
    set pin 8 HIGH
    set pin 8 LOW
    set pin 8 HIGH
    set pin 8 HIGH
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF

Answer key

  1. digital
  2. OFF
  3. a buzzer
  4. analog
  5. a speaker
  6. a temperature sensor
  7. two
  8. digital
  9. a turning knob
  10. OFF
  11. 5 V
  12. a temperature sensor
  13. OFF
  14. OFF
  15. ON
  16. analog
  17. ON
  18. OFF
  19. output
  20. input
  21. a small display
  22. OFF
  23. output
  24. digital
  25. a push button
  26. OFF
  27. OFF
  28. analog
  29. a light sensor
  30. True
  31. analog
  32. OFF
  33. False
  34. a small display
  35. ON
  36. ON
  37. ON
  38. ON
  39. a motor
  40. ON

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