← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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