← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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