← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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