← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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