← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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