← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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