← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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