← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

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