← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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