← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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