← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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