← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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