← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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