← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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