← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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