← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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