← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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