← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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