← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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