← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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