← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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