← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

Electronics lesson 22: Input and output pins · Set 285 · 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.📶 Digital or analog: how bright a room is? (a) digital (b) analog
  2. 2.🔍 Which is the odd one out? (a) a buzzer (b) a small display (c) a motion sensor (d) a water pump
  3. 3.Which of these is an input? (a) an LED (b) a water pump (c) a temperature sensor (d) a motor
  4. 4.📶 Digital or analog: the room temperature? (a) digital (b) analog
  5. 5.💡 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
    set pin 8 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  6. 6.🔌 Is a small display an input or an output for a microcontroller? (a) output (b) input
  7. 7.💡 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 7 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  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 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  9. 9.📶 Digital or analog: HIGH or LOW only? (a) analog (b) digital
  10. 10.📶 Digital or analog: a knob turned part way? (a) digital (b) analog
  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 8 HIGH
    set pin 7 LOW
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  12. 12.True or false: “a button: pressed or not” is an analog signal. (a) True (b) False
  13. 13.🔍 Which is the odd one out? (a) a sound sensor (b) a light sensor (c) a keypad (d) a small display
  14. 14.🔌 Is a keypad an input or an output for a microcontroller? (a) input (b) output
  15. 15.Which of these is an output? (a) a push button (b) an LED (c) a sound sensor (d) a temperature sensor
  16. 16.True or false: “a tilt switch: on or off” is a digital signal. (a) True (b) False
  17. 17.True or false: “how bright a room is” is a digital signal. (a) True (b) False
  18. 18.🔌 Is a speaker an input or an output for a microcontroller? (a) output (b) input
  19. 19.True or false: “a button: pressed or not” is a digital signal. (a) False (b) True
  20. 20.Which of these is an input? (a) a motion sensor (b) a motor (c) an LED (d) a servo motor
  21. 21.True or false: “how loud a sound is” is an analog signal. (a) True (b) False
  22. 22.True or false: “HIGH or LOW only” is an analog signal. (a) False (b) True
  23. 23.💡 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) OFF (b) ON
  24. 24.📶 Digital or analog: a button: pressed or not? (a) digital (b) analog
  25. 25.💡 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
    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
    set pin 8 HIGH
    set pin 8 HIGH
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  27. 27.🔍 Which is the odd one out? (a) a temperature sensor (b) a servo motor (c) an LED (d) a speaker
  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 7 HIGH
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  29. 29.🔍 Which is the odd one out? (a) a temperature sensor (b) a sound sensor (c) a buzzer (d) a keypad
  30. 30.🔍 Which is the odd one out? (a) a speaker (b) a turning knob (c) a water pump (d) a small display
  31. 31.Which of these is an output? (a) a buzzer (b) a push button (c) a motion sensor (d) a light sensor
  32. 32.🔍 Which is the odd one out? (a) a temperature sensor (b) a sound sensor (c) a speaker (d) a motion sensor
  33. 33.💡 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
    set pin 8 HIGH
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  34. 34.🔌 Is an LED an input or an output for a microcontroller? (a) input (b) output
  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
    set pin 8 LOW
    set pin 7 LOW
    set pin 8 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  36. 36.🔌 Is a turning knob an input or an output for a microcontroller? (a) output (b) input
  37. 37.💡 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
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  38. 38.🔍 Which is the odd one out? (a) a push button (b) an LED (c) a sound sensor (d) a motion sensor
  39. 39.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 7 HIGH
    set pin 7 LOW
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  40. 40.🔌 Is a water pump an input or an output for a microcontroller? (a) output (b) input

Answer key

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

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