← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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