← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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