← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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