← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

Electronics lesson 22: Input and output pins · Set 846 · 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.📶 A pin that reads a push button is set as … (a) an output (b) a resistor (c) an input (d) a battery
  2. 2.📶 Digital or analog: a door: open or shut? (a) analog (b) digital
  3. 3.💡 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 8 LOW
    set pin 8 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  4. 4.💡 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 HIGH
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  5. 5.📶 How many states can a digital pin have? (a) ten (b) two (c) one (d) a thousand
  6. 6.🔌 Is a small display an input or an output for a microcontroller? (a) input (b) output
  7. 7.🔌 Is a turning knob an input or an output for a microcontroller? (a) output (b) input
  8. 8.💡 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 8 HIGH
    set pin 8 LOW
    set pin 8 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  9. 9.True or false: “a door: open or shut” is an analog signal. (a) True (b) False
  10. 10.📶 Digital or analog: many values in a range? (a) analog (b) digital
  11. 11.🔌 Is a buzzer an input or an output for a microcontroller? (a) input (b) output
  12. 12.🔌 Is a light sensor an input or an output for a microcontroller? (a) output (b) input
  13. 13.🔌 Is a motor an input or an output for a microcontroller? (a) input (b) output
  14. 14.Which of these is an output? (a) a push button (b) a keypad (c) a turning knob (d) a small display
  15. 15.Which of these is an output? (a) a turning knob (b) a light sensor (c) a motion sensor (d) a buzzer
  16. 16.💡 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) ON (b) OFF
  17. 17.Which of these is an output? (a) a speaker (b) a turning knob (c) a light sensor (d) a sound sensor
  18. 18.🔍 Which is the odd one out? (a) a motion sensor (b) a light sensor (c) a buzzer (d) a turning knob
  19. 19.📶 Digital or analog: a knob turned part way? (a) digital (b) analog
  20. 20.💡 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
    set pin 7 LOW
    set pin 8 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  21. 21.🔌 Is an LED an input or an output for a microcontroller? (a) output (b) input
  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 7 HIGH
    set pin 7 HIGH
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  23. 23.📶 A pin set LOW gives about … (a) 1.5 V (b) 5 V (c) 9 V (d) 0 V
  24. 24.🔌 Is a push button an input or an output for a microcontroller? (a) input (b) output
  25. 25.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 7 LOW
    set pin 8 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  26. 26.Which of these is an input? (a) a small display (b) a servo motor (c) a motion sensor (d) a water pump
  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 8 HIGH
    set pin 7 HIGH
    set pin 7 HIGH
    set pin 7 HIGH
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  28. 28.True or false: “many values in a range” is a digital signal. (a) False (b) True
  29. 29.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 8 LOW
    set pin 7 HIGH
    set pin 7 HIGH
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  30. 30.💡 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 7 LOW
    set pin 7 LOW
    set pin 7 HIGH
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  31. 31.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 7 HIGH
    set pin 8 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  32. 32.📶 Digital or analog: a tilt switch: on or off? (a) analog (b) digital
  33. 33.🔍 Which is the odd one out? (a) a buzzer (b) a servo motor (c) a speaker (d) a temperature sensor
  34. 34.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 LOW
    set pin 8 HIGH
    set pin 8 HIGH
    set pin 7 HIGH
    set pin 7 HIGH
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  35. 35.💡 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 HIGH
    set pin 8 HIGH
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  36. 36.🔍 Which is the odd one out? (a) a light sensor (b) a push button (c) a keypad (d) a water pump
  37. 37.📶 Digital or analog: how loud a sound is? (a) analog (b) digital
  38. 38.🔍 Which is the odd one out? (a) an LED (b) a turning knob (c) a keypad (d) a push button
  39. 39.True or false: “how loud a sound is” is an analog signal. (a) False (b) True
  40. 40.True or false: “how bright a room is” is an analog signal. (a) False (b) True

Answer key

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

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