← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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