← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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