← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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