← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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