← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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