← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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