← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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