← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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