← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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