← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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