← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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