← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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