← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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