← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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