← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

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