← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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