← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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