← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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