← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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