← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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