← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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