← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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