← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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