← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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