← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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