← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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