← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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