← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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