← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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