← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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