← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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