← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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