← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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