← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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