← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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