← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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