← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

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