← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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