← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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