← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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