← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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