← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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