← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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