← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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