← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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