← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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