← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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