← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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