← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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