← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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