← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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