← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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