← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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