← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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