← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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