← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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