← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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