← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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