← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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