← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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