← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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