← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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