← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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