← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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