← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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