← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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