← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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