← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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