← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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