← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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