← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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