← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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