← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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