← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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