← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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