← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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