← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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