← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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