← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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