← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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