← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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