← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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