← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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