← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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