← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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