← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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