← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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