← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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