← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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