← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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