← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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