← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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