← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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