← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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