← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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