← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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