← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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