← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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