← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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