← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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