← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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