← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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