← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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