← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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