← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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