← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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