← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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