← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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