← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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