← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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