← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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