← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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