← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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