← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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