← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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