← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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