← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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