← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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