← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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