← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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