← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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