← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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