← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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