← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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