← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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