← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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