← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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