← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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