← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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