← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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