← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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