← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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