← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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